Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-36572

Command line --bind_ip should override bindIpAll in config file

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.1.4
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change
    • Sprint:
      Platforms 2018-08-27, Platforms 2018-09-10, Platforms 2018-09-24

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sara.golemon Sara Golemon
              Reporter:
              mitar Mitar
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: