java.net.ConnectException: Connection refused: connect

mkyong.com | 1 week ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    CRM on demand connection problem

    Oracle Community | 7 years ago | 777440
    java.net.ConnectException: Connection refused: connect
  2. 0

    java.net.ConnectException: Connection refused: ... | Dell Boomi Community

    boomi.com | 4 months ago
    java.net.ConnectException: Connection refused: connect
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Java HttpsURLConnection example

    mkyong.com | 1 week ago
    java.net.ConnectException: Connection refused: connect

  1. pulse00 37 times, last 1 day ago
  2. osvzs 1 times, last 7 days ago
  3. Casper 1 times, last 7 days ago
  4. Andreas Häber 1 times, last 2 weeks ago
  5. musketyr 8 times, last 2 weeks ago
72 more registered users
23 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
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(Unknown Source)
    3. java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    4. java.net.PlainSocketImpl.connect(Unknown Source)
    5. java.net.SocksSocketImpl.connect(Unknown Source)
    6. java.net.Socket.connect(Unknown Source)
    6 frames
  3. Java JSSE
    BaseSSLSocketImpl.connect
    1. com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
    2. com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)
    2 frames
  4. Java RT
    HttpsURLConnectionImpl.getResponseCode
    1. sun.net.NetworkClient.doConnect(Unknown Source)
    2. sun.net.www.http.HttpClient.openServer(Unknown Source)
    3. sun.net.www.http.HttpClient.openServer(Unknown Source)
    4. sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
    5. sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
    6. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
    7. sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    8. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    9. sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    10. java.net.HttpURLConnection.getResponseCode(Unknown Source)
    11. sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
    11 frames
  5. Unknown
    HttpsClient.main
    1. HttpsClient.print_https_cert(HttpsClient.java:45)
    2. HttpsClient.testIt(HttpsClient.java:26)
    3. HttpsClient.main(HttpsClient.java:13)
    3 frames