Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How to make sure mongodb is running on oneclick mongodb droplet
I am trying to run a node app and am getting mongoerror failed to connect to server [IP] on first connect
How do I solve this? I want to have a separate database server than my web server. I have tried public and private IP’s and neither worked.
When I do mongod it shows the database is running so that it out.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×