java.net.SocketException

java.net.ConnectException: Connection timed out

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web6414

  • java.net.ConnectException: Connection timed out
  • via Oracle Community by 843859, 7 months ago
    java.net.ConnectException: Connection timed out
  • via techpaste.com by Unknown author, 11 months ago
    java.net.ConnectException: Connection timed out
  • Stack trace

    • java.net.SocketException: java.net.ConnectException: Connection timed out at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2569) at com.mysql.jdbc.Connection.<init>(Connection.java:1485) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266) at java.sql.DriverManager.getConnection(DriverManager.java:571) at java.sql.DriverManager.getConnection(DriverManager.java:215) at Main.main(Main.java:36)

    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

    Unknown user
    Once, 1 year ago
    6 times, 11 months ago
    Unknown user
    Once, 1 year ago