Unable to connect Robomongo to AWS EC2 via SSH

1.8k Views Asked by At

After expending a lot of time I am here to put my problem. My MongoDB server is running on EC2 box with centos on port 27016. I can easily connect through putty and use it to start Mongo cell with command

mongo --port 27016

I just want to use same database with Robomongo Robo 3T 1.1 version.

I have set SSH details on SSH Tab on Robomongo.

In connection Tab I have set host 127.0.0.1 and port is 27016(I am confused with it don't know it's valid or not).

I am getting this error

enter image description here

After clicking on show error details

I am getting this message

enter image description here

Note: My MongoDB server running on local machine on PORT 27017

Thank You

0

There are 0 best solutions below