From 3.6, MongoDB binaries bind to localhost by default. The comment next to bindIp in mongo.conf says
Listen to local interface only, comment to listen on all interfaces
will not work anymore due to this change; https://github.com/mongodb/mongo/blob/v3.6/src/mongo/db/server_options_helpers.cpp#L892
Therefore, we need to update the comment to avoid confusion.
- documents
-
SERVER-28229 Bind to localhost by default
- Closed
- links to