java.net.SocketException

java.net.ConnectException: Connection refused: connect

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 web7016

  • via Google Groups by Jorge Ortiz, 1 year ago
    java.net.ConnectException: Connection refused: connect
  • via Oracle Community by 843859, 1 year ago
    java.net.ConnectException: Connection refused: connect
  • via Oracle Community by 843859, 7 months ago
    java.net.ConnectException: Connection refused: connect
  • Stack trace

    • java.net.SocketException: java.net.ConnectException: Connection refused: connect at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:283) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2541) at com.mysql.jdbc.Connection.<init>(Connection.java:1474) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:264) at org.orm.ertodb.DriverWrapper.connect(DriverWrapper.java:27) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source)

    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

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