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

Docs for SERVER-36572: Command line --bind_ip should override bindIpAll in config file

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.4
    • Component/s: manual, Server
    • Labels:
      None

      Description

      Description

      Description:

      Documentation changes probably not ACTUALLY needed, but it's worth pointing out that as an implementation detail, setting `net.bindIp: *` will now result in the same behavior as `net.bindIpAll: true`. Additionally, the unexpected behavior resulting in this ticket will no longer occur. That is, CLI values for address binding will override YAML values, regardless of whether they are in the same setting or not.

      Engineering Ticket Description:

      I have a config file where I have set:

      net:
        bindIpAll: true

      But if I then run;

      /mongod --config /etc//mongod.conf --bind_ip 127.0.0.1

      And check it with netstat -alpn, I can see that mongod is still listening on all IPs.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kay.kim Kay Kim (Inactive)
              Reporter:
              kay.kim Kay Kim (Inactive)
              Participants:
              Last commenter:
              Kay Kim Kay Kim (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                2 years, 34 weeks ago
                Date of 1st Reply: