[英]How to connect mongodb(installed on ec2) to Robomongo?
I have mongodb installed on aws ec2
up and running.我在aws ec2
上安装了 mongodb,并且正在运行。 Now i want to connect that mongodb
to my Robo3T
client.现在我想将该mongodb
连接到我的Robo3T
客户端。 So in connection
tab i put my public ipv4
ip
in address
field, put 27017
in port(connection tab)
.所以在connection
选项卡中,我将我的公共ipv4
ip
放在address
字段中,将27017
放在port(connection tab)
。
Then in SSH
tab of Robo3t
i again put my public ipv4
ip
in SSH address
field and put 22
in port field.然后在Robo3t
SSH
选项卡中,我再次将我的公共ipv4
ip
放在SSH address
字段中,并将22
放在端口字段中。 in SSH User Name
field i put default ubuntu
and select private key
method from dropdown SSH Auth Method
field.在SSH User Name
段中,我输入默认ubuntu
并从下拉SSH Auth Method
字段中选择private key
方法。 Then i browse my .pem
file.然后我浏览我的.pem
文件。 But it is not connecting and giving me this error但它没有连接并给我这个错误
What am i doing wrong?我究竟做错了什么?
I also have done port
configuration on aws
.我也在aws
上做了port
配置。 Please see below :请参阅以下内容:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.