java.net.SocketException

java.net.ConnectException: Connection refused

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 web6357

  • via Google Groups by Jorge Ortiz, 1 year ago
    java.net.ConnectException: Connection refused: connect
  • via Coderanch by Deepaks Deshpande, 6 months ago
    java.net.ConnectException: Connection refused
  • java.net.ConnectException: Connection refused
  • Stack trace

    • java.net.SocketException: java.net.ConnectException: Connection refused at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2666)

    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