You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "wangkezun (GitHub)" <gi...@apache.org> on 2019/11/07 03:11:14 UTC
[GitHub] [dubbo] wangkezun commented on issue #5283: 添加“-Djava.net.preferIPv4Stack=true”参数之后,NetUtils.getLocalAddress0()错误的获取到Hyper-V虚拟网卡的地址
看起来应该与dubbo无关,而是java提供的InetAddress在ipv4与ipv6两种impl获取地址列表不同导致的。
https://github.com/openjdk/jdk/blob/jdk8-b120/jdk/src/windows/native/java/net/Inet6AddressImpl.c
与
https://github.com/openjdk/jdk/blob/jdk8-b120/jdk/src/windows/native/java/net/Inet4AddressImpl.c
[ Full content available at: https://github.com/apache/dubbo/issues/5283 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org