Slave cannot connect to Master

感情迁移 提交于 2019-12-06 02:17:04
Denis

I found the problem: in Jenkins Master Configuration, in Jenkins URL, instead of "localhost:8080", I put the IP of the server (http://[ip_server]:8080/) and now I can connect my slave to my master by using each way.

More specifically to Denis's answer, go to Manage Jenkins->Configure Systems->Jenkins Location : "Jenkins URL" and change "localhost:8080" to your Master's ip and port. (If you happened to change the port number).

Then we picked the choice of downloading the slave.jar and using the command prompt to connect the agent.

Brahmadev

After installing the Jenkins slave. If your unable to load the Jenkins in the brwoser or not getting the jenkins start page follow these steps , directly paste this in your terminal.

firewall-cmd --permanent --new-service=jenkins

firewall-cmd --permanent --service=jenkins --set-short="Jenkins Service Ports"

firewall-cmd --permanent --service=jenkins --set-description="Jenkins service firewalld port exceptions"

firewall-cmd --permanent --service=jenkins --add-port=8080/tcp

firewall-cmd --permanent --add-service=jenkins

firewall-cmd --zone=public --add-service=http --permanent

firewall-cmd --reload

firewall-cmd --list-all
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!