'I cannot establish connection to 'built'in node" from my staging and production instances

org.jenkinsci.remoting.engine.WorkDirManager initializeW orkDir INFO: Using /home/ubuntu/jenkins/remoting as a remoting work directory May 11, 2022 4:35:54 PM org.jenkinsci.remoting.engine.WorkDirManager setupLoggin g INFO: Both error and output logs will be printed to /home/ubuntu/jenkins/remotin g May 11, 2022 4:35:55 PM hudson.remoting.jnlp.Main createEngine INFO: Setting up agent: production May 11, 2022 4:35:55 PM hudson.remoting.jnlp.Main$CuiListener INFO: Jenkins agent is running in headless mode. May 11, 2022 4:35:55 PM hudson.remoting.Engine startEngine INFO: Using Remoting version: 4.13 May 11, 2022 4:35:55 PM org.jenkinsci.remoting.engine.WorkDirManager initializeW orkDir INFO: Using /home/ubuntu/jenkins/remoting as a remoting work directory May 11, 2022 4:35:55 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Locating server among [http://54.164.155.216:8080/] May 11, 2022 4:35:55 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve INFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping] May 11, 2022 4:36:00 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver isPortVisible WARNING: connect timed out May 11, 2022 4:36:00 PM hudson.remoting.jnlp.Main$CuiListener error SEVERE: http://54.164.155.216:8080/ provided port:33725 is not reachable java.io.IOException: http://54.164.155.216:8080/ provided port:33725 is not reac hable at org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver.resolve(JnlpA gentEndpointResolver.java:311) at hudson.remoting.Engine.innerRun(Engine.java:733) at hudson.remoting.Engine.run(Engine.java:539)

I created a staging node and production node, I downloaded the agent.jar and slave-agent.jnlp for both nodes, and copy them to the servers.

I tried this command - java -jar agent.jar -jnlpUrl http://54.164.155.216:80 80/computer/production/jenkins-agent.jnlp -secret 0f69af1947110e62d0696f49aa07e0 7d30387478c6b1d0ae204b8aab6943baf6 -workDir "/home/ubuntu/jenkins"

I go the error below. I could establish a connection to the "built-in node", which I believe is the master node..Right?

Or do I need to create a master node and delete the built-in node that was there when I logged into the Jenkins?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source