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

coderanch.com | 1 month 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

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

    coderanch.com | 7 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 | 1 month ago
    java.net.SocketException: java.net.ConnectException: Connection refused: connect
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    run initdb.sh

    opengts | 10 years ago | mark_spatial
    java.net.SocketException: java.net.ConnectException: Connection refused
  6. 0

    BugzillaMetrics / Mailing Lists

    sourceforge.net | 11 months ago
    java.net.SocketException: java.net.ConnectException: Connection refused: connect

  1. esaar 6 times, last 7 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