java.io.IOException: Failed to connect to http://lons b03.wecomm.local:8080/

Jenkins JIRA | James Murray | 4 years ago
  1. 0

    Hi, I have recently upgraded to Java Version 7 Update 9 (on Windows 7) and am now getting a permission denied error from the jenkins-cli.jar. I can access the URL below fine in a web browser so is not DNS/firewall/authentication. Any thoughts on what could be causing this? Thanks, James. C:\Dev\Wave\Integration\WaveKickStart\WaveKickStart\bin\Release>java -jar jenkin s-cli.jar -s http://lonsb03.wecomm.local:8080/ get-job Wave_Expo_Prod_iPhone 1> iPhone_job_details.xml Exception in thread "main" java.io.IOException: Failed to connect to http://lons b03.wecomm.local:8080/ at hudson.cli.CLI.getCliTcpPort(CLI.java:266) at hudson.cli.CLI.<init>(CLI.java:129) at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:68) at hudson.cli.CLI._main(CLI.java:439) at hudson.cli.CLI.main(CLI.java:374) Caused by: java.net.SocketException: Permission denied: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.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.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour ce) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at hudson.cli.CLI.getCliTcpPort(CLI.java:264) ... 4 more C:\Dev\Wave\Integration\WaveKickStart\WaveKickStart\bin\Release>java -jar jenkin s-cli.jar -s http://lonsb03.wecomm.local:8080/ get-job Wave_Expo_Prod_Java 1>Ja va_job_details.xml Exception in thread "main" java.io.IOException: Failed to connect to http://lons b03.wecomm.local:8080/ at hudson.cli.CLI.getCliTcpPort(CLI.java:266) at hudson.cli.CLI.<init>(CLI.java:129) at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:68) at hudson.cli.CLI._main(CLI.java:439) at hudson.cli.CLI.main(CLI.java:374) Caused by: java.net.SocketException: Permission denied: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.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.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour ce) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at hudson.cli.CLI.getCliTcpPort(CLI.java:264) ... 4 more C:\Dev\Wave\Integration\WaveKickStart\WaveKickStart\bin\Release>echo build_get_c omplete 1>lock_wait_build_get_complete

    Jenkins JIRA | 4 years ago | James Murray
    java.io.IOException: Failed to connect to http://lons b03.wecomm.local:8080/
  2. 0

    Hi, I have recently upgraded to Java Version 7 Update 9 (on Windows 7) and am now getting a permission denied error from the jenkins-cli.jar. I can access the URL below fine in a web browser so is not DNS/firewall/authentication. Any thoughts on what could be causing this? Thanks, James. C:\Dev\Wave\Integration\WaveKickStart\WaveKickStart\bin\Release>java -jar jenkin s-cli.jar -s http://lonsb03.wecomm.local:8080/ get-job Wave_Expo_Prod_iPhone 1> iPhone_job_details.xml Exception in thread "main" java.io.IOException: Failed to connect to http://lons b03.wecomm.local:8080/ at hudson.cli.CLI.getCliTcpPort(CLI.java:266) at hudson.cli.CLI.<init>(CLI.java:129) at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:68) at hudson.cli.CLI._main(CLI.java:439) at hudson.cli.CLI.main(CLI.java:374) Caused by: java.net.SocketException: Permission denied: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.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.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour ce) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at hudson.cli.CLI.getCliTcpPort(CLI.java:264) ... 4 more C:\Dev\Wave\Integration\WaveKickStart\WaveKickStart\bin\Release>java -jar jenkin s-cli.jar -s http://lonsb03.wecomm.local:8080/ get-job Wave_Expo_Prod_Java 1>Ja va_job_details.xml Exception in thread "main" java.io.IOException: Failed to connect to http://lons b03.wecomm.local:8080/ at hudson.cli.CLI.getCliTcpPort(CLI.java:266) at hudson.cli.CLI.<init>(CLI.java:129) at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:68) at hudson.cli.CLI._main(CLI.java:439) at hudson.cli.CLI.main(CLI.java:374) Caused by: java.net.SocketException: Permission denied: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.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.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour ce) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at hudson.cli.CLI.getCliTcpPort(CLI.java:264) ... 4 more C:\Dev\Wave\Integration\WaveKickStart\WaveKickStart\bin\Release>echo build_get_c omplete 1>lock_wait_build_get_complete

    Jenkins JIRA | 4 years ago | James Murray
    java.io.IOException: Failed to connect to http://lons b03.wecomm.local:8080/
  3. 0

    Jenkins CLI - Jenkins - Jenkins Wiki

    jenkins-ci.org | 2 days ago
    java.io.IOException: Failed to connect to b03.wecomm.local:8080/
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    error getting deck info

    GitHub | 2 years ago | sharkskill
    java.net.SocketException: Permission denied: connect
  6. 0

    Processing not working

    Stack Overflow | 2 years ago | Sim
    java.net.SocketException: Permission denied: connect

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.SocketException

      Permission denied: connect

      at java.net.DualStackPlainSocketImpl.connect0()
    2. Java RT
      HttpURLConnection.connect
      1. java.net.DualStackPlainSocketImpl.connect0(Native Method)
      2. java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
      3. java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
      4. java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
      5. java.net.AbstractPlainSocketImpl.connect(Unknown Source)
      6. java.net.PlainSocketImpl.connect(Unknown Source)
      7. java.net.SocksSocketImpl.connect(Unknown Source)
      8. java.net.Socket.connect(Unknown Source)
      9. java.net.Socket.connect(Unknown Source)
      10. sun.net.NetworkClient.doConnect(Unknown Source)
      11. sun.net.www.http.HttpClient.openServer(Unknown Source)
      12. sun.net.www.http.HttpClient.openServer(Unknown Source)
      13. sun.net.www.http.HttpClient.<init>(Unknown Source)
      14. sun.net.www.http.HttpClient.New(Unknown Source)
      15. sun.net.www.http.HttpClient.New(Unknown Source)
      16. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(UnknownSource)
      17. sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
      18. sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
      18 frames
    3. Hudson
      CLI.main
      1. hudson.cli.CLI.getCliTcpPort(CLI.java:264)
      2. hudson.cli.CLI.<init>(CLI.java:129)
      3. hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:68)
      4. hudson.cli.CLI._main(CLI.java:439)
      5. hudson.cli.CLI.main(CLI.java:374)
      5 frames