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

job_handler 部署在docker中时 启动端口与主机端口不一致 注册后无法调用 #3402

Open
musanMS opened this issue Mar 7, 2024 · 1 comment

Comments

@musanMS
Copy link

musanMS commented Mar 7, 2024

在主机上以docker部署执行器,默认使用9999作为端口启动
外部无法访问docker的IP与端口,因此采用注册主机ip与端口,主机端口与docker端口不一致,导致外部无法调用

问题:是否可以设置启动端口与注册端口

@sirius19
Copy link

sirius19 commented Mar 7, 2024

参考一下 xxl-job-executor-sample-springboot

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