0
votes

I am new to Jenkins but am trying to set up a Jenkins slave.

My Master on a Windows server, Server A does not connect to my Slave, Windows Server B.

So far I continue to receive a

Connection time out: connect
Failing to obtain http://server.a.ip:8080/computer/slave/slave-agent.jnlp

So far I have:

Global Security - Created an anonymous user with Agent Connect and Read rights

Global Security - Enable security TCP port for JNLP agents as Random

Configuration System - Jenkins URL is http://server.a.ip:8080/

Netstat on Server B shows (while running the java download. Please note that I am able to FTP from each server) -

TCP    ServerA IP Address:50081    ServerA:8080         SYN_SENT

Let me know if you have any questions. Thanks!

1
After opening up both ports 8080 and setting my Fixed port on my Jenkins Configure Global Security in this case 49187 on Server A. I was able to connect into my Jenkins app from server B! - Lgalan90

1 Answers

1
votes

Follow this steps.

1 -Access Jenkins URL

2 - Go to Manager page.

3 - Manager node.

4 - New node

5 - Choose 'Launch agent via Java Web Start' in launch. Save the new config.

6 - Open Jenkins url in server B and login

7 - Go to Manage Jenkins >> Manage Node

8 - Click in the node name you created then in Launch. And every think is done.

See jenkins wiki for more details.

You need java and login with administrative account in server B