java.net.ConnectException: Connection refused: connect

Mirth Project | Sebastian Schnur | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Hi together, we were experiencing one issue when the storage device on Microsoft SQL Server went full, so no storage space was left. After making some space free by deleting unneccessary backup files, the mirth service wasnt able to come back online. Even restarting the mirth service wasn't helpful. The GUI showed us the following exception: java.net.ConnectException: Connection refused: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source) at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source) at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source) at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source) at com.sun.javaws.jnl.LaunchDescFactory._buildDescriptor(Unknown Source) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source) at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main.access$000(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Any Ideas how to fix it? Any further information needed? Thanks a lot.

    Mirth Project | 8 months ago | Sebastian Schnur
    java.net.ConnectException: Connection refused: connect
  2. 0

    Mage won't download any card images (alrdy posted on slightlymagic.cmo forums)

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

    Deploy Plugin - Jenkins - Jenkins Wiki

    jenkins-ci.org | 8 months ago
    org.codehaus.cargo.container.ContainerException: Failed to redeploy
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Connection refused when spidering using ZAP API Client

    Google Groups | 3 years ago | Ayman Touzi
    org.zaproxy.clientapi.core.ClientApiException: org.zaproxy.clientapi.core.ClientApiException: java.net.ConnectException: Connection refused: connect
  6. 0

    Cordova Run Error - Proxy?

    Stack Overflow | 2 years ago | lizzy
    java.lang.RuntimeException: java.net.ConnectException : Connection refused: connect

  1. Hronom 9 times, last 2 months ago
  2. regisso 3 times, last 9 months ago
6 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.DualStackPlainSocketImpl.connect0()
  2. Java RT
    HttpURLConnection.getInputStream
    1. java.net.DualStackPlainSocketImpl.connect0(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)
    9. java.net.Socket.connect(Unknown Source)
    10. sun.net.NetworkClient.doConnect(Unknown Source)
    11. sun.net.www.http.HttpClient.openServer(Unknown Source)
    12. sun.net.www.http.HttpClient.openServer(Unknown Source)
    13. sun.net.www.http.HttpClient.<init>(Unknown Source)
    14. sun.net.www.http.HttpClient.New(Unknown Source)
    15. sun.net.www.http.HttpClient.New(Unknown Source)
    16. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
    17. sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
    18. sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
    19. sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
    20. java.security.AccessController.doPrivileged(Native Method)
    21. java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
    22. sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    23. sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    24. sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
    25. sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)
    26. sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
    27. sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
    28. java.security.AccessController.doPrivileged(Native Method)
    29. java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
    30. sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    30 frames
  3. com.sun.deploy
    BasicHttpRequest.doGetRequest
    1. com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
    2. com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    3. com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    4. com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
    4 frames
  4. com.sun.javaws
    Main$1.run
    1. com.sun.javaws.jnl.LaunchDescFactory._buildDescriptor(Unknown Source)
    2. com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    3. com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    4. com.sun.javaws.Main.launchApp(Unknown Source)
    5. com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    6. com.sun.javaws.Main.access$000(Unknown Source)
    7. com.sun.javaws.Main$1.run(Unknown Source)
    7 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame