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

Fix bindIp multiple address notation in Configuration Options

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor - P4 Minor - P4
    • Server_Docs_20231030
    • None
    • manual
    • 0.1

    Description

      https://docs.mongodb.com/manual/reference/configuration-options/#net.bindIp

      "To bind to multiple IP addresses, enter a list of comma separated values." - this is not correct. Should be "To bind to multiple IP addresses, enter a list of comma separated values IN square braces".

      This:

      bindIp: 127.0.0.1,172.31.47.130

      did not work for me, but this:

      bindIp: [127.0.0.1,172.31.47.130]

      works just fine

      Source: https://stackoverflow.com/questions/30884021/mongodb-bind-ip-wont-work-unless-set-to-0-0-0-0

      Attachments

        Activity

          People

            Unassigned Unassigned
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 21 weeks, 1 day ago