java.net.SocketException: java.net.ConnectException: Connection refused: connect

coderanch.com | 2 months ago
  1. 0

    java.net.ConnectException: Connection refused: connect (JDBC and Relational Databases forum at Coderanch)

    coderanch.com | 5 months ago
    java.net.SocketException: java.net.ConnectException: Connection refused: connect
  2. 0

    java.net.ConnectException: Connection refused: connect (JDBC and Relational Databases forum at Coderanch)

    coderanch.com | 2 months ago
    java.net.SocketException: java.net.ConnectException: Connection refused: connect
  3. 0

    Hibernate Database connection Error

    Stack Overflow | 1 year ago | Pyntamil Selvi
    java.net.SocketException: java.net.ConnectException: Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.net.ConnectException: Connection refused: MYSQL

    devx.com | 1 year ago
    java.net.SocketException: java.net.ConnectException: Connection refused: connect
  6. 0

    MySQL :: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:

    mysql.com | 1 year ago
    java.net.SocketException: java.net.ConnectException: Connection refused: connect

  1. esaar 6 times, last 4 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 refused: connect

    at com.mysql.jdbc.StandardSocketFactory.connect()
  2. MySQL jdbc
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:151)
    2. com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:280)
    3. com.mysql.jdbc.Connection.createNewIO(Connection.java:1765)
    4. com.mysql.jdbc.Connection.<init>(Connection.java:430)
    5. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:268)
    5 frames
  3. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(Unknown Source)
    2. java.sql.DriverManager.getConnection(Unknown Source)
    2 frames
  4. test
    Test.main
    1. test.DBConnection.getConnection(DBConnection.java:56)
    2. test.Test.main(Test.java:14)
    2 frames