Answer the question
In order to leave comments, you need to log in
How to connect to MongoDB remotely using GUI?
Hello! Help needed. Bottom line: there is a VPS, I installed mongo on it - I'm trying to connect to it remotely via MongoDB Compass (GUI). Nothing comes out. In the mongi settings I tried ip 127.0.0.1 and 0.0.0.0. When connecting to the server through the console, the monga works (shows bases \ collections). I am also interested in the complete algorithm for setting up mongo on a clean server, including setting up a secure connection with mongo (authentication of mongo users).
Answer the question
In order to leave comments, you need to log in
Forward using ssh port 27017 to the local machine and all the cases. monga won't even realize it's a remote connection :-)
For authentication, a secure connection, there is the mlab service.
In the config, you need to uncomment the line (I don’t have the config at hand right now, but it’s indicated in the commentary ... in my opinion where 127.0. ..
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question