-
Notifications
You must be signed in to change notification settings - Fork 285
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
Problem with the api/user #141
Comments
It appears that the API cannot connect to your MongoDB database. Make sure the database is set up correctly and open to access from outside. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I'm creating my Nextjs application which uses MongoDB Atlas, your project helped me a lot to understand how everything works so already thanks a lot!
Everything works perfectly locally and on Vercel but when I try to put it online on a server (cPanel) I always get this error from the api/user: "connect ECONNREFUSED 3.67.190.44:27017".
And this in the logs: "at Timeout._onTimeout (/home/.../14/lib/node_modules/mongodb/lib/sdam/topology.js:312:38)".
I've been searching a lot for the past few days but I have no idea where this is coming from.
Do you have any idea?
Thanks in advance.
The text was updated successfully, but these errors were encountered: