java.net.ConnectException: Connection refused

GitHub | nadeemshaik | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    [Android] Connection refused from Gradle when behind a proxy

    GitHub | 2 years ago | nadeemshaik
    java.net.ConnectException: Connection refused
  2. 0

    gradlew set corporate proxy server

    GitHub | 9 months ago | GETandSELECT
    java.net.ConnectException: Connection refused
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Unable to create portlet in Liferay IDE

    Stack Overflow | 1 year ago | Sunil Rai
    java.net.ConnectException: Connection refused: connect
  5. 0

    Generated apk without Android Studio-2

    Stack Overflow | 1 year ago | thirteen
    java.net.ConnectException: Connection timed out: connect

  1. bpbhat77 2 times, last 7 months ago
  2. tfr 2 times, last 8 months ago
  3. tvrmsmith 1 times, last 9 months ago
  4. pnaranja 2 times, last 10 months ago
  5. osvzs 4 times, last 4 days ago
62 more registered users
33 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

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:589)
    6 frames
  3. Java JSSE
    BaseSSLSocketImpl.connect
    1. sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:649)
    2. sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
    2 frames
  4. Java RT
    HttpsURLConnectionImpl.getInputStream
    1. sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    2. sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    3. sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    4. sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275)
    5. sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371)
    6. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
    7. sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1103)
    8. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:997)
    9. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
    10. sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1511)
    11. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439)
    12. sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
    12 frames
  5. org.gradle.wrapper
    GradleWrapperMain.main
    1. org.gradle.wrapper.Download.downloadInternal(Download.java:58)
    2. org.gradle.wrapper.Download.download(Download.java:44)
    3. org.gradle.wrapper.Install$1.call(Install.java:59)
    4. org.gradle.wrapper.Install$1.call(Install.java:46)
    5. org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
    6. org.gradle.wrapper.Install.createDist(Install.java:46)
    7. org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126)
    8. org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
    8 frames