-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(net): delete config item node.discovery.bind.ip #5597
feat(net): delete config item node.discovery.bind.ip #5597
Conversation
PARAMETER.nodeDiscoveryBindIp = s.getLocalAddress().getHostAddress(); | ||
} catch (IOException e) { | ||
logger.warn("Can't get bind IP. Fall back to 127.0.0.1: " + e); | ||
PARAMETER.nodeDiscoveryBindIp = "127.0.0.1"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why should this logic be retained?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if the external ip is not exist, use LAN IP.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why hardcoded into www.baidu.com
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@halibobo1205 It has been moved to libp2p module. This url is not necessary and we can use alternative way.
What does this PR do?
Why are these changes required?
This PR has been tested by:
Follow up
Extra details