java.net.SocketException: 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

Solutions on the web

via tomcat-users by Johnny Kewl, 1 year ago
java.net.ConnectException: Connection timed out: connect
via apache.org by Unknown author, 2 years ago
java.net.ConnectException: Connection timed out: connect
via Oracle Community by 843859, 1 year ago
java.net.ConnectException: Connection timed out: conne ct
via Oracle Community by 843859, 1 year ago
java.net.ConnectException: Connection timed out: conne ct
via Oracle Community by 843859, 1 year ago
java.net.ConnectException: Connection refused: connect
via Oracle Community by 843859, 1 year ago
java.net.SocketException: Invalid argument: connect
java.net.SocketException: java.net.ConnectException: Connection timed out: connect
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
at com.mysql.jdbc.MysqlIO.(MysqlIO.java:276)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2641)
at com.mysql.jdbc.Connection.(Connection.java:1531)

Users with the same issue

6 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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