tcxdgit opened a new issue, #9987: URL: https://github.com/apache/rocketmq/issues/9987
### Before Creating the Bug Report - [x] I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq/discussions). - [x] I have searched the [GitHub Issues](https://github.com/apache/rocketmq/issues) and [GitHub Discussions](https://github.com/apache/rocketmq/discussions) of this repository and believe that this is not a duplicate. - [x] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ. ### Runtime platform environment 纯单栈v6环境启动运行namesrv ### RocketMQ version 5.1.3 ### JDK Version 1.8 ### Describe the Bug v6环境部署namesrv组件。日志发现解析v6地址存在问题 ### Steps to Reproduce 使用bin/mqnamesrv -c /root/rocketmq-5.1.3-1/conf/namesrv.conf启动namesrv组件。发现日志报错,类似v6地址解析异常。后续broker无法注册namesrv。 <img width="2124" height="380" alt="Image" src="https://github.com/user-attachments/assets/11a3e02a-ca5f-49fa-8a1e-a1d0be6a0ddf" /> <img width="559" height="232" alt="Image" src="https://github.com/user-attachments/assets/2bc68e9c-6398-41fa-9c3a-e96db582a95f" /> ### What Did You Expect to See? 应该解析得到[202:202:0:0:0:0:81:1811]:9876 这样的地址。通过 ping6 202:202:0:0:0:0:81:1811和 nc -vz -6 202:202:0:0:0:0:81:1811 9876都可以连通。 ### What Did You See Instead? createChannel: begin to connect remote host[[202:202:0:0:0:0:81:1811%enp1s0]:9876] java.net.UnknownHostException: [202: invalid IPv6 address literal ### Additional Context no -- 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]
