diff --git a/src/main/java/org/jenkinsci/remoting/engine/JnlpAgentEndpointResolver.java b/src/main/java/org/jenkinsci/remoting/engine/JnlpAgentEndpointResolver.java index 3f563d9cb..ee611fc6e 100644 --- a/src/main/java/org/jenkinsci/remoting/engine/JnlpAgentEndpointResolver.java +++ b/src/main/java/org/jenkinsci/remoting/engine/JnlpAgentEndpointResolver.java @@ -309,7 +309,7 @@ public JnlpAgentEndpoint resolve() throws IOException { if (tunnel == null) { if (!isPortVisible(host, port)) { firstError = chain(firstError, new IOException(jenkinsUrl + " provided port:" + port - + " is not reachable")); + + " is not reachable on host " + host)); continue; } else { LOGGER.log(Level.FINE, "TCP Agent Listener Port availability check passed");