java.net.ConnectException

Connection refused: connect


Samebug tips9

Check if your server (or a proxy server) is not going up and down. There might be something between a proxy and a client sending intermittent requests to non-functioning hosts as well. There might as well be too many requests in a short amount of time.

Check if your server (or a proxy server) is not going up and down. There might be something between a proxy and a client sending intermittent requests to non-functioning hosts as well. There might as well be too many requests in a short amount of time.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web13964

Solution icon of pentaho
via Pentaho BI Platform Tracking by Golda David, 1 year ago
Connection refused: connect Connection refused: connect

Solution icon of googlegroups
via Google Groups by Stephen Neal, 1 year ago
Connection refused: connect java.net.ConnectException: Connection refused: connect

Solution icon of oraclecommunity
via Oracle Community by 431393, 9 months ago
Connection refused: connect java.net.ConnectException: Connection refused: connect

Solution icon of pentaho
via Pentaho BI Platform Tracking by Golda David, 1 year ago
Connection refused: connect Connection refused: connect

Solution icon of coderanch
via Coderanch by Frank Malaga, 8 months ago
Connection refused: connect

Solution icon of coderanch
via Coderanch by Steve Jerome, 8 months ago
Connection refused: connect

Solution icon of coderanch
via Coderanch by Reema Patel, 8 months ago
Connection refused: connect

Solution icon of coderanch
via Coderanch by Dhana Sen, 8 months ago
Connection refused: connect

Solution icon of coderanch
Connection refused: connect

Solution icon of coderanch
via Coderanch by gaurav abbi, 8 months ago
Connection refused: connect

Stack trace

  • java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.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.protocol.https.HttpsClient.<init>(Unknown Source) at sun.net.www.protocol.https.HttpsClient.New(Unknown Source) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1978 times, 41 minutes ago
Samebug visitor profile picture
Unknown user
2 times, 6 days ago
491 more bugmates