Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to connect Robo 3T to a remote MongoDB server

Tags:

mongodb

I'm using Mongo DB Version 3.4.6 on my Windows 7 laptop. I connect to MongoDB using Robo 3T version 1.1.1. I am trying to use Robo 3T to connect to a remote Mongo server.

I have edited the bind_Ip option in the mongo.conf file to include the IP Address of the remote server.

This is the error I receive:

Failed to connect to No chance to load list of databases.

When I click on error details, this is what it says: Cannot connect to MongoDB at Error: Network is unreachable.

I am connecting via the default port 27017, which works when I try to connect Robo 3T to the MongoDB on my own laptop.

I have attached the error message that I receive.

enter image description here

Please help me address this issue.

like image 485
AbhinayaAK Avatar asked Oct 29 '22 02:10

AbhinayaAK


2 Answers

I know it's a little late, but i was facing the same problem. After i tried a lot of things i solved it just removing the connection from the manage connections window.

enter image description here

Then create it again, i know it sounds dummy but it was the only thing that worked for me

like image 193
karique Avatar answered Nov 29 '22 10:11

karique


I've faced the same issue, just change bindIp to 0.0.0.0 and restart your server.

like image 38
Sihem Hcine Avatar answered Nov 29 '22 10:11

Sihem Hcine