Hello there I've been learning and building Reactjs projects and whenever I run any React app, it runs on http://127.0.0.1:3000. I recently moved to Nextjs ad whenever I run the app it runs on http://0.0.0.0:3000.
Whenever I visit localhost:3000 i get an error which is something I've never experienced with React. I want the Nextjs app to run on 127.0.0.1:3000 and not 0.0.0.0:3000
#1007476603422527558
#Nextjs app running on wrong address
9 messages · Page 1 of 1 (latest)
@open vale Kindly have a look at this image
The server isn't running on the left.
But I've already initiated the app via the npm run dev command. Is there anything else I need to do to start the server?
When you run npm run dev you must not cancel it. Keep it running in the terminal then you can access the page
When working on React projects, the moment I run npm run dev, the powershell switches to node and keeps running until I stop it but with nextjs I think its just stopping by itself
Then use a different shell instead