java.net.ConnectException: Connection refused: no further information

Oracle Community | 843798 | 1 decade 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

    how to ping a url?

    Oracle Community | 1 decade ago | 843798
    java.net.ConnectException: Connection refused: no further information
  2. 0

    Launching an Application from JNLP on same machine

    Oracle Community | 1 decade ago | 843802
    java.net.ConnectException: Connection refused: no further information
  3. 0

    javawebstart

    Coderanch | 1 decade ago | krishnamurthy bomma
    java.net.ConnectException: Connection refused: no further information
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Callbacks not triggered

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

  1. marcbouvierdav 1 times, last 4 weeks ago
  2. mauritius 12 times, last 2 months ago
  3. bpbhat77 1 times, last 8 months ago
16 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: no further information

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    HttpURLConnection.getResponseCode
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:329)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:141)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:128)
    5. java.net.Socket.<init>(Socket.java:285)
    6. java.net.Socket.<init>(Socket.java:112)
    7. sun.net.NetworkClient.doConnect(NetworkClient.java:56)
    8. sun.net.www.http.HttpClient.openServer(HttpClient.java:347)
    9. sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
    10. sun.net.www.http.HttpClient.<init>(HttpClient.java:282)
    11. sun.net.www.http.HttpClient.<init>(HttpClient.java:292)
    12. sun.net.www.http.HttpClient.New(HttpClient.java:304)
    13. sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:393)
    14. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:487)
    15. java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:221)
    15 frames
  3. Unknown
    Test.main
    1. Test.main(Test.java:10)
    1 frame