alb3rtobr opened a new pull request #6066:
URL: https://github.com/apache/geode/pull/6066
Bindings done at `DirectChannel` and `GMSHealthMonitor` use the local
address when no `bind-address` parameter is used to start a locator or server.
Example of a locator started on a container with default parameters:
```
root@locator:/# ss -lt
State Recv-Q Send-Q Local Address:Port
Peer Address:Port Process
LISTEN 0 1280 0.0.0.0:1099
0.0.0.0:*
LISTEN 0 1280 172.17.0.2:47863
0.0.0.0:*
LISTEN 0 50 172.17.0.2:56698
0.0.0.0:*
LISTEN 0 50 0.0.0.0:7070
0.0.0.0:*
LISTEN 0 1000 0.0.0.0:10334
0.0.0.0:*
```
After this change, all sockets are listening to 0.0.0.0 :
```
root@locator:/# ss -lt
State Recv-Q Send-Q Local Address:Port
Peer Address:Port Process
LISTEN 0 50 0.0.0.0:47624
0.0.0.0:*
LISTEN 0 1280 0.0.0.0:1099
0.0.0.0:*
LISTEN 0 50 0.0.0.0:7070
0.0.0.0:*
LISTEN 0 1000 0.0.0.0:10334
0.0.0.0:*
LISTEN 0 1280 0.0.0.0:57282
0.0.0.0:*
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]