S
S
seserg7772019-07-18 00:24:39
MongoDB
seserg777, 2019-07-18 00:24:39

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

3 answer(s)
A
Andrey, 2019-07-18
@VladimirAndreev

Forward using ssh port 27017 to the local machine and all the cases. monga won't even realize it's a remote connection :-)

L
Luke LikeSkywalker, 2019-07-18
@oolooq

For authentication, a secure connection, there is the mlab service.

L
lavren1974, 2019-07-18
@lavren1974

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 question

Ask a Question

731 491 924 answers to any question