[SERVER-18431] Could not connect to server <Host IP: Port> src/mongo/shell/mongo.js:147 Created: 12/May/15  Updated: 12/May/15  Resolved: 12/May/15

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Anand Chandrashekar Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Hi,

I'm trying to connect to our MongoDB Lab server from a remote machine ant get this below error. Let me know how to fix it. Do we need to install any driver to connect to the remote host?

D:\mongodb2_4>mongo 192.168.120.112:27017
MongoDB shell version: 2.4.12
connecting to: 192.168.120.112:27017/test
Tue May 12 18:53:09.817 Error: couldn't connect to server 192.168.120.112:27017
at src/mongo/shell/mongo.js:147
exception: connect failed



 Comments   
Comment by Ramon Fernandez Marina [ 12/May/15 ]

anandc84@gmail.com, you'll probably need to check your network connectivity to the machine where MongoDB is running. Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the mongodb-user group.

Regards,
Ramón.

Generated at Thu Feb 08 03:47:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.