-
Notifications
You must be signed in to change notification settings - Fork 618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to re-run the application #32
Comments
Did you start the server in a separate terminal tab? I had this issue too, but having two terminals solved the problem. One runs the server and the other your react page. |
I did it on separate terminal tab but still not running. One is running nodemon server (backend) and the other one is npm start. Anything else one has to add? |
Did you add { useUnifiedTopology: true } to server.js mongoose.connect?
|
Still gives the same error. The backend is connected (port and database). It seems to be a front-end issue.
|
Hi, I'm having the same issue, front uses port :3000 and backend uses port :5000. |
After coding the first time, I was able to run the application and connect to database properly. However, after a week when I tried to start the serve (nodemon serve & npm start), I don't see the database connected or any sucessfull port connection. The UI is visible but trying to add users gives this issue:
Same with adding exercise. No users visible. MongoDB shows that the relevant databases and records.
Any idea, what needs to be done while restarting the application on localhost?
The text was updated successfully, but these errors were encountered: