Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1308

mongod/mongos bind_ip default documented incorrectly

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual
    • None

    Description

      The default value for bind_ip in mongos/mongod is documented as "localhost (i.e. 127.0.0.1 address.)".

      In fact, the default is to listen on all available interfaces (INADDR_ANY / 0.0.0.0), see the relevant code excerpt.

      (Note that some mongodb packages ship with a default configuration file that includes bind_ip = 127.0.0.1 – not relevant to the default command-line options, though)

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 46 weeks, 5 days ago