java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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
    via by James Murray,
  • 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
    via by James Murray,
  • Jenkins CLI - Jenkins - Jenkins Wiki
    via by Unknown author,
  • error getting deck info
    via GitHub by sharkskill
    ,
  • Processing not working
    via Stack Overflow by Sim
    ,
  • Problem with IGV on windows 7
    via by Pedamallu Chandra Sekhar,
  • no connect remote Android
    via by Vivian Sank,
  • Unable to launch notepad.jnlp
    via by FreneticFerret,
    • 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(UnknownSource) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at hudson.cli.CLI.getCliTcpPort(CLI.java:264) ... 4 more

    Users with the same issue

    SteVio1989SteVio1989
    7 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    17 more bugmates