AlbumenJ commented on code in PR #13745:
URL: https://github.com/apache/dubbo/pull/13745#discussion_r1513723875
##########
dubbo-common/src/main/java/org/apache/dubbo/common/utils/NetUtils.java:
##########
@@ -387,19 +386,18 @@ private static InetAddress getLocalAddress0() {
logger.warn(e);
}
+ InetAddress localAddress = getLocalAddressV6();
+ if (localAddress != null) {
+ return localAddress;
+ }
Review Comment:
这一块我担心这样修改以后会对现有用户的行为造成影响
比如,机器有个假的 v6 地址,原来通过 v4 注册正常,修改后变成了 v6 地址直接导致服务调用就失败了
--
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]