java.net.ConnectException: Connection refused: connect

Coderanch | Rudolf Lomniczi | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Connection refused on localhost

    Coderanch | 6 years ago | Rudolf Lomniczi
    java.net.ConnectException: Connection refused: connect
  2. 0

    Mage won't download any card images (alrdy posted on slightlymagic.cmo forums)

    GitHub | 3 years ago | Julzjuice
    java.net.ConnectException: Connection refused: connect
  3. 0

    Deploy Plugin - Jenkins - Jenkins Wiki

    jenkins-ci.org | 7 months ago
    org.codehaus.cargo.container.ContainerException: Failed to redeploy
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Connection refused when spidering using ZAP API Client

    Google Groups | 3 years ago | Ayman Touzi
    org.zaproxy.clientapi.core.ClientApiException: org.zaproxy.clientapi.core.ClientApiException: java.net.ConnectException: Connection refused: connect
  6. 0

    Cordova Run Error - Proxy?

    Stack Overflow | 2 years ago | lizzy
    java.lang.RuntimeException: java.net.ConnectException : Connection refused: connect

  1. Hronom 9 times, last 1 month ago
  2. regisso 3 times, last 8 months ago
6 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.ConnectException

    Connection refused: connect

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    HttpURLConnection.getInputStream
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    6. java.net.Socket.connect(Socket.java:529)
    7. java.net.Socket.connect(Socket.java:478)
    8. sun.net.NetworkClient.doConnect(NetworkClient.java:163)
    9. sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
    10. sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
    11. sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
    12. sun.net.www.http.HttpClient.New(HttpClient.java:306)
    13. sun.net.www.http.HttpClient.New(HttpClient.java:323)
    14. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:975)
    15. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:916)
    16. sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)
    17. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1177)
    17 frames
  3. com.ind.bb
    URLTest.main
    1. com.ind.bb.tools.URLTest.main(URLTest.java:31)
    1 frame