Answer the question
In order to leave comments, you need to log in
How to connect to Mongo on VDS via ssh tunnel?
How to connect to Mongo on VDS via ssh tunnel? On VDS in a mongo config it is registered bindIp=127.0.0.1
Accordingly simply so monga is inaccessible to remote connections.
SSH access is configured by key. I'm using Robomongo trying to create a connection tunnel. Screenshot attached
What to register in the config?
Answer the question
In order to leave comments, you need to log in
Understood)) When creating a connection, specify the address and port like this:
And the tunnel settings for connecting with your IP and key. Thanks to all.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question