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

Command line --bind_ip should override bindIpAll in config file

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.1.4
    • Affects Version/s: 4.0.0
    • Component/s: None
    • None
    • Minor Change
    • Platforms 2018-08-27, Platforms 2018-09-10, Platforms 2018-09-24

      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.

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

              Created:
              Updated:
              Resolved: