I had the same problem because I deployed alpha edition and didn’t care security. I thought no body would know my server but some g…
I use 2 approaches to connect to MongoDB server on Droplet from my computer. ( via SSH tunneling and vie URL). I check and see CPU ( of the Droplet ) utilizes only 6%, Top Disk IO is 0.3M/s. I achieved very low writin...
SSH tunneling is great way to connect to MongoDB running on Droplet from local machine and work on local machine but I don't know how to connect to MongoDB Droplet from AWS or from anywhere app.
Connecting over an SSH Tunnel is probably the most secure means of connecting, though you also have the option of opening remote connections to the MongoDB instance.
In /etc/mongod.conf there's a directive ...
I want to create a MongoDB server and connect it from local machine using Spring Data MongoDB. I'm able to connect to MongoDB using ssh via Mac CLI but don't know how to create URI to connect to it. In another words, ...
I would recommend that you keep MongoDB on your droplet contained, so it only listens on localhost of the droplet - and not exposing it to the internet.
Then you can create a SSH tunnel...