java.net.ConnectException: Connection refused: connect

Stack Overflow | Safiyur | 3 months ago
  1. 0

    Connection Refused

    lngooglecalsync | 2 years ago | dcryans
    java.net.ConnectException: Connection refused: connect
  2. 0

    Unable to synch using version 2.5.5

    lngooglecalsync | 3 years ago | donhewitt
    java.net.ConnectException: Connection refused: connect
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Recurly : Connection refused during Recurly server connection through my code

    Stack Overflow | 11 months ago | Jitendra Yadav
    java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: connect
  5. 0

    Can I set a proxy for Azure service bus connections in Java SDK 0.9.0?

    Stack Overflow | 2 months ago | sjohnston
    com.microsoft.windowsazure.exception.ServiceException: com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection timed out: connect
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.DualStackPlainSocketImpl.waitForConnect()
  2. Java RT
    Socket.connect
    1. java.net.DualStackPlainSocketImpl.waitForConnect(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)
    8 frames
  3. Java JSSE
    SSLSocketImpl.connect
    1. sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
    1 frame
  4. Java RT
    HttpsURLConnectionImpl.getOutputStream
    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.plainConnect0(Unknown Source)
    8. sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    9. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    10. sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(Unknown Source)
    11. sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
    12. sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
    12 frames
  5. Google HTTP Client Library for Java
    HttpRequest.execute
    1. com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:77)
    2. com.google.api.client.http.HttpRequest.execute(HttpRequest.java:981)
    2 frames
  6. Google OAuth Client Library for Java
    TokenRequest.execute
    1. com.google.api.client.auth.oauth2.TokenRequest.executeUnparsed(TokenRequest.java:283)
    2. com.google.api.client.auth.oauth2.TokenRequest.execute(TokenRequest.java:307)
    2 frames
  7. Google APIs Client Library for Java
    GoogleCredential.executeRefreshToken
    1. com.google.api.client.googleapis.auth.oauth2.GoogleCredential.executeRefreshToken(GoogleCredential.java:384)
    1 frame
  8. Google OAuth Client Library for Java
    Credential.intercept
    1. com.google.api.client.auth.oauth2.Credential.refreshToken(Credential.java:489)
    2. com.google.api.client.auth.oauth2.Credential.intercept(Credential.java:217)
    2 frames
  9. Google HTTP Client Library for Java
    HttpRequest.execute
    1. com.google.api.client.http.HttpRequest.execute(HttpRequest.java:868)
    1 frame
  10. Google APIs Client Library for Java
    AbstractGoogleClientRequest.execute
    1. com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:419)
    2. com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:352)
    3. com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:469)
    3 frames
  11. Unknown
    GettingStarted.main
    1. GettingStarted.executeQuery(GettingStarted.java:38)
    2. GettingStarted.main(GettingStarted.java:73)
    2 frames