[SERVER-30588] Support binding all IPs associated with a hostname Created: 10/Aug/17  Updated: 30/Oct/23  Resolved: 18/Aug/17

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.5.12

Type: Task Priority: Major - P3
Reporter: Sara Golemon Assignee: Sara Golemon
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Minor Change
Sprint: Platforms 2017-08-21
Participants:
Linked BF Score: 0

 Description   

`mongod --bind_ip foo.example.com` currently binds to only the first address returned by getaddrinfo(). This includes localhost binding which is hard-coded to the IPv4 loopback address.

Support handling multiple IP addresses for a hostname.



 Comments   
Comment by Githook User [ 18/Aug/17 ]

Author:

{'username': 'sgolemon', 'email': 'sara.golemon@mongodb.com', 'name': 'Sara Golemon'}

Message: SERVER-30588 Bind all addresses returned by getaddroinfo()
Branch: master
https://github.com/mongodb/mongo/commit/1ee537356bbd98a6c037e40b7d4f04283a11741d

Comment by Githook User [ 17/Aug/17 ]

Author:

{'username': 'syev', 'email': 'yves.duhem@mongodb.com', 'name': 'Yves Duhem'}

Message: Revert "SERVER-30588 Bind all addresses returned by getaddroinfo()"

This reverts commit 1158a6b9b1de13ef2dd809b4515d881422163b5e.
Branch: master
https://github.com/mongodb/mongo/commit/427647f7cea35a782f3532c02d3e16323c4aea99

Comment by Githook User [ 17/Aug/17 ]

Author:

{'username': 'sgolemon', 'email': 'sara.golemon@mongodb.com', 'name': 'Sara Golemon'}

Message: SERVER-30588 Bind all addresses returned by getaddroinfo()
Branch: master
https://github.com/mongodb/mongo/commit/1158a6b9b1de13ef2dd809b4515d881422163b5e

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