Question

How to connect to mongodb remotely

Posted February 19, 2018 2.2k views
MongoDBUbuntuLinux Commands

Hi,

How to connect to MongoDB remotely, I have made changes to the file in the Droplet.
File name:-mongod.conf.orig

Thanks!

edited by bobbyiliev

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.

×
1 answer

Hello,

I would recommend following part 3 from this step by step tutorial on how to configure remote access for your MongoDB instance:

https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-mongodb-on-ubuntu-16-04#part-three-configuring-remote-access-(optional)

Regards,
Bobby

by Melissa Anderson
MongoDB is a document-oriented database that is free and open-source. It is classified as a NoSQL database because it does not rely on a traditional table-based relational database structure ... In Part One of this tutorial we'll use the MongoDB Repository to install the latest version of MongoDB. In Part Two, we'll enable authentication to secure it on the local system. Finally, in Part Three, we'll show how to more securely allow remote connections if they're needed.
Submit an Answer