Connect to Linode MongoDB from MongoDB Compass


I have a MERN One-click app Linode. and I want to connect to the MongoDB in my Linode from MongoDB Compass in my local machine. I tried input SSH tunnel and MongoDB host information to connect but no luck.

Is it possible to achieve this? If so, please guide me what information I need to put in to create the connection.

1 Reply

If you're having trouble creating an SSH tunnel from MongoDB Compass on your local machine to your MongoDB Linode, this post on our Community Questions site may help get you pointed in the right direction.

Connecting to my MongoDB database from Mongodb Compass Community app

The post includes a link to a guide that provides the steps on connecting MongoDB Compass using an SSH tunnel. Also included in the post is a link to documentation from MongoDB on various Compass connection errors.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct