rtry commented on issue #13579: URL: https://github.com/apache/dubbo/issues/13579#issuecomment-1895588654
目前关于注册的IP,能用的方式 1.通过配置参数 DUBBO_IP_TO_REGISTRY 指定IP 2.通过配置参数 dubbo.network.interface.preferred=eth0 指定网卡偏好 3.改host 4.自行扩展部分代码,通过代码注入需要的IP 不知道还有其他方式么? 集群的部署,Ip本来就是漂移的,Dubbo 在容器内获取IP进行注册的时候,现在的NetUtils 这个类,完全有可能拿不到想要的IP,为什么不提供一个 IP段的配置? 集群之间网络是通的,但是容器可以有多个网卡,获取IP很有可能也会获取到其他IP,也会出现不通的情况 -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
