java.net.ConnectException: Connection timed out: connect

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

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.

,
Expert tip

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.

Solutions on the web

via pydev by *anonymous
, 1 year ago
Connection timed out: connect
via Stack Overflow by ColinD
, 2 years ago
via Stack Overflow by Raghav
, 2 years ago
via Stack Overflow by user3557260
, 2 years ago
via Google Groups by Mike via StackOverflow, 1 week ago
Connection timed out: connect
via mathworks.com by Unknown author, 1 year ago
java.net.ConnectException: Connection timed out: 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.(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)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
at org.python.pydev.logging.ping.LogPingSender.sendPing(LogPingSender.java:56)
at org.python.pydev.logging.ping.SynchedLogPing.send(SynchedLogPing.java:158)
at org.python.pydev.logging.ping.AsyncLogPing.consumeAllCommands(AsyncLogPing.java:125)
at org.python.pydev.logging.ping.AsyncLogPing.access$0(AsyncLogPing.java:94)
at org.python.pydev.logging.ping.AsyncLogPing$1.run(AsyncLogPing.java:41)

Users with the same issue

130 times, 54 minutes ago
11 times, 1 day ago
26943 times, 1 day ago
4 times, 3 days ago
5 times, 3 days ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.