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

Command line --bind_ip should override bindIpAll in config file

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 4.1.4
    • 4.0.0
    • None
    • None
    • Minor Change
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: