Hello Team,
I am trying to add my windows machine as an agent to the jenkins but its getting failed with the error in the Screenshot. Could you please help me with this.
java.io.IOException: Failed to connect to http://10.47.97.22:8080tcpSlaveAgentListener/: Connection refused: connect }} {{at org.jenkinsci.remoting.engineJnlpAgentEndpointResolver.resolve(inlpAgentEndpointResolver.java:198)
at hudson.remoting.Engine.innerRun(Engine.java:523)
at hudson.remoting.Engine.run(Engine.java:474)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketlmpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketlmpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketlmpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketlmpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketlmpl.connect(Unknown Source)
at java.net.PlainSocketlmpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClientSl .run(Unknown Source)
at sun.net.www.http.HttpClientSl .run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.http.HttpClient.privilegedOpenServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.< mit> (Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.netwww.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.netwww.protocolhttp.HttpURLConnection.plainConnectO(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at org.jenkinsci.remoting.engineJnlpAgentEndpointResolver.resolve(JnlpAgentEndpointResolver.java:195)
... 2 more