xxl-job
xxl-job copied to clipboard
xxljob启动报错
Please answer some questions before submitting your issue. Thanks!
Which version of XXL-JOB do you using?
2.2.0
Expected behavior
Actual behavior
Steps to reproduce the behavior
Other information
2021-01-11 17:29:45.311 [xxl-job, executor ExecutorRegistryThread] INFO com.xxl.job.core.thread.ExecutorRegistryThread->>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='tianyi-job-executor', registryValue='http://127.0.0.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://192.168.181.36:8088/xxl-job-admin/api/registry, content=null]
have you solve that? I meet the same question.
估计提问的人已经不关注了,看下能不能帮助到后面的。
我的类似问题解决方法是:
PARAMS: ' --server.port=8081 --spring.datasource.url=jdbc:mysql://xxx.xxx.xx.x:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8 --spring.datasource.username=root --spring.datasource.password=root'
也就是PARAMS的值前后要加'符号,第二如果遇到了启动成功,但是页面不能访问的,建议改一下端口映射ports: - 8082:8081
i have met the same problem
Connection refused: connect), for url : http://127.0.0.1:8080/xxl-job-admin/api/registry, content=null