Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not able to connect RoboMongo with Amazon instance

I'm not able to connect RoboMongo with Amazon instance. Tried this http://blog.mongohq.com/robomongo-your-next-shell/

Opened inbound port in the instance. Still no Luck. Anyone have done this?

Edited:

enter image description here

After I press test or connect it goes on and seems it's trying to connect but after a while a message pops up saying unable to connect with mongodb.

Edit

by setting the host as 'localhost' worked.

like image 793
lostShip Avatar asked Oct 01 '22 11:10

lostShip


1 Answers

From @Stennie

"Have you tried connecting via ssh with the same credentials? On the Robomongo Connection tab, have you set hostname to "localhost"? I would try logging in with ssh, then use the same details as the Connection tab to make sure this connects, eg: mongo localhost:27017."

like image 148
lostShip Avatar answered Oct 17 '22 15:10

lostShip