Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Gone away
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Server
    • Labels:
      None
    • # Replies:
      1
    • Last comment by Customer:
      false

      Description

      See related SO question.
      If you do not specify a bind_ip then mongod relies on the hostname returned by gethostname(). If that hostname is not fully qualified (eg gethostname() returns "host" and not "host.example.net") then further lookups may fail, especially when trying to set up replica sets.

      Net: for examples relying on localhost, make that explicit with bind_ip 127.0.0.1 or hostname localhost, otherwise use fully qualified domain names and note that the hostname of the system mongod is running on must be fully resolvable in DNS.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sam.kleinman Sam Kleinman (Inactive)
              Reporter:
              epc Ed Costello
              Participants:
              Last commenter:
              Jonathan Dahl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                7 years, 47 weeks, 3 days ago
                Date of 1st Reply: