Tools fail to connect on unix domain socket

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: 3.0.0-rc7
    • Component/s: All Tools
    • None

      The tools (tested mongodump, mongorestore, mongoexport, mongoimport) fail to connect using the Unix domain socket, looks like this:

      ./mongodump -d test --host /tmp/mongodb-27017.sock 
      2015-02-05T17:09:18.321+0000	Failed: error connecting to db server: no reachable servers
      
      ./mongorestore -d test --host /tmp/mongodb-27017.sock 
      2015-02-05T17:09:24.545+0000	using default 'dump' directory
      2015-02-05T17:09:28.084+0000	Failed: error connecting to db server: no reachable servers
      
      ./mongoexport -d test -c data --host /tmp/mongodb-27017.sock 
      2015-02-05T17:10:37.231+0000	Failed: error connecting to db server: no reachable servers
      
      ./mongo --host /tmp/mongodb-27017.sock 
      MongoDB shell version: 3.0.0-rc7
      connecting to: /tmp/mongodb-27017.sock:27017/test
      > 
      

      Connecting to the same process via IP is successful.

      Using 2.6 versions of the tools is successful.

              Assignee:
              Unassigned
              Reporter:
              Adam Comerford (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: