[SERVER-62747] proxy_protocol_connect.js needs to use the loopback address for Docker containers Created: 19/Jan/22  Updated: 29/Oct/23  Resolved: 19/Jan/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0, 5.0.11

Type: Bug Priority: Major - P3
Reporter: Tyler Seip (Inactive) Assignee: Backlog - Service Architecture
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Assigned Teams:
Service Arch
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.2, v5.0
Sprint: Service Arch 2022-1-24
Participants:
Linked BF Score: 46

 Description   

proxy_protocol_connect.js currently tries to bind to localhost, which doesn't work properly inside containerized environments. Bind to the loopback address (127.0.0.1) instead.



 Comments   
Comment by Githook User [ 19/Jan/22 ]

Author:

{'name': 'Tyler Seip', 'email': 'Tyler.Seip@mongodb.com', 'username': 'tseip-mongo'}

Message: SERVER-62747: proxy_protocol.js should connect to loopback address instead of localhost
Branch: master
https://github.com/mongodb/mongo/commit/8e6789baea59e99172e6ceb4d8a4273fb186edb1

Generated at Thu Feb 08 05:55:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.