Skip to content
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

关于执行器IpUtil#getLocalAddress0() 方法将InetAddress.getLocalHost()移动到开头的疑问? #3580

Closed
wayn111 opened this issue Dec 3, 2024 · 1 comment

Comments

@wayn111
Copy link

wayn111 commented Dec 3, 2024

查看com.xxl.job.core.util.IpUtil文件git提交历史,可以看到2018年就已经按照优先遍历网卡来获取第一个可用的外网地址,为什么在2020年最后一次提交中,又把 getLocalAddress0() 方法中的 InetAddress.getLocalHost() 移动到方法开头。想请教一下作者大大。

微信截图_20241203152723

Which version of XXL-JOB do you using?

xxl-job最新2.4.2版本

Expected behavior

Actual behavior

Steps to reproduce the behavior

Other information

@xuxueli
Copy link
Owner

xuxueli commented Jan 18, 2025

master分支已调整,历史修复问题引入新问题导致

@xuxueli xuxueli closed this as completed Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants