chengshiwen commented on a change in pull request #5594:
URL: https://github.com/apache/dolphinscheduler/pull/5594#discussion_r646362020
##########
File path:
dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/NetUtils.java
##########
@@ -130,7 +128,7 @@ private static synchronized InetAddress getLocalAddress0() {
Optional<InetAddress> addressOp =
toValidAddress(addresses.nextElement());
if (addressOp.isPresent()) {
try {
- if (addressOp.get().isReachable(100)) {
+ if (addressOp.get().isReachable(300)) {
Review comment:
There is a scenario: the 2nd ip is used, not the 1st 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.
For queries about this service, please contact Infrastructure at:
[email protected]