无法与亚马逊实例连接RoboMongo [英] Not able to connect RoboMongo with Amazon instance
问题描述
我无法与亚马逊实例连接RoboMongo。 尝试这种 http://blog.mongohq.com/robomongo-your-next-shell/
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?
编辑:
在我preSS试验或连接它的推移,似乎它试图连接,但一段时间后,会弹出一条消息说不能用MongoDB的连接。
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.
修改
通过设置主机'localhost'的工作。
by setting the host as 'localhost' worked.
推荐答案
从@Stennie
你有没有尝试过通过SSH连接使用相同的凭据?在Robomongo连接选项卡,你有没有设置主机名localhost的?我会尝试使用ssh登录,然后用相同的细节,连接选项卡,以确保这种连接,例如:蒙戈本地主机:27017。
"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."
这篇关于无法与亚马逊实例连接RoboMongo的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!