java.net.ConnectException: Connection refused

Stack Overflow | Oli | 2 months ago
  1. 0

    Default generated application fails to startup due failure to connect to Registry

    GitHub | 5 months ago | viniciusboson
    java.lang.IllegalStateException: Could not locate PropertySource and the fail fast property is set, failing
  2. 0

    GitHub comment 3114#230733266

    GitHub | 5 months ago | Opalo
    java.lang.IllegalStateException: java.net.ConnectException: Connection refused
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Exception on reloading remote spring boot application with Intellij IDEA

    Stack Overflow | 5 months ago | Opal
    java.lang.IllegalStateException: java.net.ConnectException: Connection refused

  1. tvrmsmith 1 times, last 3 weeks ago
  2. musketyr 2 times, last 2 months ago
  3. Malcshour 1 times, last 6 months ago
25 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
    HttpURLConnection.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    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)
    7. java.net.Socket.connect(Socket.java:538)
    8. sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    9. sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    10. sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    11. sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
    12. sun.net.www.http.HttpClient.New(HttpClient.java:308)
    13. sun.net.www.http.HttpClient.New(HttpClient.java:326)
    14. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)
    15. sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
    16. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
    17. sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
    17 frames
  3. Unknown
    Main2.main
    1. Main2.main(Main2.java:14)
    1 frame