bpereto opened a new issue #14732: URL: https://github.com/apache/pulsar/issues/14732
**Describe the bug** the default setting for binding in broker.conf and proxy.conf is `bindAddress=0.0.0.0`. https://github.com/apache/pulsar/blob/3e065718939d028a970c6b03b96da94e78217583/conf/proxy.conf#L53 the specified default `0.0.0.0` binds to ipv4 only, so the service is not reachable over ipv6. ``` [root@proxy pulsar]# netstat -tulpen Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 0.0.0.0:6650 0.0.0.0:* LISTEN 41186 8351118 2470721/java tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 41186 8349589 2470721/java ``` this setting does not accept a a ipv6 address `[::0]`, `::0` or a ipv6 address with or without brackets. available error in logs: ``` 2022-03-17T10:52:55,986+0100 [sun.misc.Launcher$AppClassLoader@1d56ce6a] error Uncaught exception in thread main: Failed to bind Pulsar Proxy on port 6650 ``` **To Reproduce** Steps to reproduce the behavior: 1. Set a ipv6 address in broker.conf or proxy.conf for bindAdress: `bindAddress=[::0]` 2. restart pulsar broker or proxy 3. check listening ports - no pulsar listen on `::6650` **Expected behavior** pulsar broker and proxy listens on ipv6 address. **Desktop (please complete the following information):** - OS: RedHat 8 - Pulsar v2.9.1 **Additional context** * related issue: https://github.com/apache/pulsar/issues/8231 * There was a related merge request for the "advertised service urls", which claims to resolve the issue, but its only resolved for service urls, not the binding/listening: https://github.com/apache/pulsar/issues/954 -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
