[Session-9]||[How To Connect With Mongo-DB (Database)]

[Session-9]||[How To Connect With Mongo-DB (Database)]

Video is ready, Click Here to View ×

How to connect to your remote MongoDB server

I have MongoDB running on my Ubuntu server in Amazon EC2. Since there’s no simple all-in-one tutorial out there explaining how to set up user authentication for Mongo so that you can read and write to your MongoDB server from your laptop, I decided to write one.

Look for the net line and comment out the bindIp line under it, which is currently limiting MongoDB connections to localhost:
Warning: do not comment out the bindIp line without…


Leave a Reply

Your email address will not be published. Required fields are marked *