简体   繁体   中英

How to connect mongodb(installed on ec2) to Robomongo?

I have mongodb installed on aws ec2 up and running. Now i want to connect that mongodb to my Robo3T client. So in connection tab i put my public ipv4 ip in address field, put 27017 in 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. in SSH User Name field i put default ubuntu and select private key method from dropdown SSH Auth Method field. Then i browse my .pem file. But it is not connecting and giving me this error

在此处输入图片说明

What am i doing wrong?

I also have done port configuration on aws . Please see below :

在此处输入图片说明

You need to set Address : localhost

图片

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM