[SERVER-33345] Update mongodb.conf to match current bindIpAll and bindIp behavior Created: 15/Feb/18  Updated: 29/Oct/23  Resolved: 05/Mar/18

Status: Closed
Project: Core Server
Component/s: Admin
Affects Version/s: 3.6.0, 3.6.1, 3.6.2
Fix Version/s: 3.7.3

Type: Improvement Priority: Minor - P4
Reporter: Juan Paulo Gutierrez Assignee: Kelsey Schubert
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-28229 Bind to localhost by default Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

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.



 Comments   
Comment by Kelsey Schubert [ 05/Mar/18 ]

Thank you for the pull request, juanpaulo!

Comment by Githook User [ 05/Mar/18 ]

Author:

{'email': 'juanpaulo.gutierrez@gmail.com', 'name': 'Juan Paulo Gutierrez', 'username': 'juanpaulo'}

Message: SERVER-33345 Update mongodb.conf to match current bindIpAll and bindIp behavior

Closes #1214

Signed-off-by: Kelsey Schubert <kelsey@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/a2d06fdf8958aac74ca48b0a89837658e30d0177

Generated at Thu Feb 08 04:33:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.