简体   繁体   中英

Jenkins: Cannot connect slave to master

I have Jenkins on a linux server and I want to set up slave on windows virtual machine.

I created simple slave node, with launch method: JNLP.

There is no firewall on the windows machine.

I can connect both via ssh, also I can connect from linux to windows on port 52263 and from windows to linux on port 135.

Still when I try to launch the slave, it cannot be connected.

What should I check? Where could be the problem?

Then I try to connect windows slave I have to open ports at Linux firewall and set static TCP port for JNLP agents at http://jenkinsurl:8080/configureSecurity/

Also you can see extra errors at windows java console.

Choose "Launch Method as Launch agent via Java Web Start" and provide proper "Remote root directory". For more information, please go through https://wiki.jenkins-ci.org/display/JENKINS/Step+by+step+guide+to+set+up+master+and+slave+machines

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM