Could not connect to server <Host IP: Port> src/mongo/shell/mongo.js:147

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Unassigned
            Reporter:
            Anand Chandrashekar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: