java.net.SocketException: java.net.ConnectException: Connection timed out

Ask Ubuntu | technophile | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    bash - Java JDBC: Connection Timed out - Executing a jar file in shell script scheduled as cron job - Ask Ubuntu

    askubuntu.com | 1 year ago
    java.net.SocketException: java.net.ConnectException: Connection timed out
  2. 0

    Java JDBC: Connection Timed out - Executing a jar file in shell script scheduled as cron job

    Ask Ubuntu | 2 years ago | technophile
    java.net.SocketException: java.net.ConnectException: Connection timed out
  3. 0

    MESSAGE: java.net.ConnectException: Connection timed out

    Oracle Community | 1 decade ago | 843859
    java.net.SocketException: java.net.ConnectException: Connection timed out
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't access mysql database (running on AWS instance) from my java application

    Stack Overflow | 1 year ago | Cayetano
    java.net.SocketException: java.net.ConnectException: Connection refused
  6. 0

    infoglue / Discussion / Installation:[Help] java.security.AccessControlException

    sourceforge.net | 2 years ago
    java.net.SocketException: java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:3306 connect,resolve)

  1. esaar 6 times, last 9 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketException

    java.net.ConnectException: Connection timed out

    at com.mysql.jdbc.StandardSocketFactory.connect()
  2. MySQL jdbc
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
    2. com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284)
    3. com.mysql.jdbc.Connection.createNewIO(Connection.java:2569)
    4. com.mysql.jdbc.Connection.<init>(Connection.java:1485)
    5. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
    5 frames
  3. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(DriverManager.java:571)
    2. java.sql.DriverManager.getConnection(DriverManager.java:215)
    2 frames
  4. Unknown
    Main.main
    1. Main.main(Main.java:36)
    1 frame