java.net.ConnectException: Connection timed out

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 Apache's JIRA Issue Tracker by vijayan, 1 year ago
Connection timed out
via ace-users by Vijay Reddy, 1 year ago
Connection timed out: connect
java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:726)
at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2990)
at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2965)

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
13 times, 1 year ago
8 times, 1 month ago
9 times, 1 month ago
590 more bugmates

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