Can't connect to unix socket

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When trying to connect to a socket I get a MONGODB | getaddrinfo: Name or service not known | runtime: 0.0060ms error from the cluster.

      Connecting via either method:

      client = Mongo::Client.new('mongodb:///tmp/mongodb-27017.sock/')
      client = Mongo::Client.new(["/tmp/mongodb-27017.sock"])
      

              Assignee:
              Emily Stolfo (Inactive)
              Reporter:
              Ross Lawley
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: