I'm trying to connect to a mongodb database remotely.
I have the following information:
I've already tried to connect from console but I fail.
Is there a way to connect from Compass while I forward the port?
When you want to connect to your instance from your workstation anywhere , ssh tunnelling is the way to go.
To use SSH Tunnel While creating a connection on MongoDB Compass , you need to choose it from the drop down box for the other text boxes to show up. Image for post The upcoming fields are pretty standard SSH information , nothing specific for MongoDB.



If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With