Not able to connect RoboMongo with Amazon instance

天涯浪子 提交于 2020-02-02 02:59:28

问题


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:

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.


回答1:


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."



来源:https://stackoverflow.com/questions/24392320/not-able-to-connect-robomongo-with-amazon-instance

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!