java.net.ConnectException: Connection refused: connect

GitHub | JapuDCret | 1 year ago
  1. 0

    A java.net.ConnectException being thrown when using HttpURLConnection

    Stack Overflow | 6 months ago | Charles
    java.net.ConnectException: Connection timed out: connect
  2. 0

    Need better error messages for network failures

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

    Reduce tasks that never complete

    Google Groups | 3 years ago | dataquerent
    java.net.SocketTimeoutException: connect timed out
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hive: unable to create thread - HDP2.1 - Hortonworks

    hortonworks.com | 1 year ago
    com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectE xception: Connection refused
  6. 0

    How to byepass a older version jar with new?

    Stack Overflow | 4 years ago | Roy
    java.net.ConnectException: Connection refused: 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
    HttpURLConnection.getInputStream
    1. java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
    2. java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
    3. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    5. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    6. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    7. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    8. java.net.Socket.connect(Socket.java:589)
    9. sun.net.NetworkClient.doConnect(NetworkClient.java:175)
    10. sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    11. sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    12. sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
    13. sun.net.www.http.HttpClient.New(HttpClient.java:308)
    14. sun.net.www.http.HttpClient.New(HttpClient.java:326)
    15. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1168)
    16. sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1104)
    17. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:998)
    18. sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:932)
    19. sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512)
    20. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
    20 frames
  3. Commons IO
    FileUtils.copyURLToFile
    1. org.apache.commons.io.FileUtils.copyURLToFile(FileUtils.java:1489)
    1 frame
  4. net.demus_intergalactical.serverman
    Globals.init
    1. net.demus_intergalactical.serverman.Utils.download(Utils.java:36)
    2. net.demus_intergalactical.serverman.Utils.download(Utils.java:41)
    3. net.demus_intergalactical.serverman.SupportedVersions.load(SupportedVersions.java:24)
    4. net.demus_intergalactical.serverman.Globals.init(Globals.java:24)
    4 frames
  5. Unknown
    ManagerApplication.start
    1. ManagerApplication.start(ManagerApplication.java:40)
    1 frame
  6. com.sun.javafx
    LauncherImpl.lambda$launchApplication1$159
    1. com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$159(LauncherImpl.java:863)
    1 frame