This is rather a newbie question. Bear with me. After I install mongodb on debian/centos how do I get the mongo_url so I can connect my app to my mongodb?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
But your code is separated from the database. Meteor.js just installs MongoDB as part of it’s setup. From what I can see, it’s installed on port
I don’t know what
mongo_urlis, but I guess it’s the configuration parameter in Meteor.js, so in that case, it would be
mongodb://localhost:27017/myprojector however you have setup your MongoDB - so if you used authentication in the setup, your url changes to
You would probably find much better help in the forums of Meteor: https://forums.meteor.com/
Hi @flameuzumo MongoDB is by default listening on
27017, so your “url” is normally:
Want to learn more? Join the DigitalOcean Community!
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Sign up now