We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b85111e commit c5656ddCopy full SHA for c5656dd
1 file changed
dubbo-common/src/main/java/org/apache/dubbo/common/utils/NetUtils.java
@@ -577,7 +577,11 @@ public static NetworkInterface findNetworkInterface() {
577
if (addressOp.isPresent()) {
578
try {
579
if (addressOp.get().isReachable(100)) {
580
- return networkInterface;
+ if (addressOp.get().isSiteLocalAddress()) {
581
+ return networkInterface;
582
+ } else {
583
+ result = networkInterface;
584
+ }
585
}
586
} catch (IOException e) {
587
// ignore
0 commit comments