Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-18431

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

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Internal Code
    • None

    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

      Attachments

        Activity

          People

            Unassigned Unassigned
            anandc84@gmail.com Anand Chandrashekar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: