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

mysql.com | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    MySQL :: Unable to connect to MySQL On Ubuntu

    mysql.com | 9 months ago
    java.net.SocketException: java.net.ConnectException: Connection refused
  2. 0

    JRuby on Rails without a database

    Stack Overflow | 8 years ago | typemismatch
    java.net.SocketException: java.net.ConnectException: Connection refused: connect
  3. 0

    Connecting Java App to my online database JDBC MySql

    Stack Overflow | 3 years ago | AZT
    java.net.SocketException: java.net.ConnectException: Connection timed out: connect at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:143) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:225)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.SocketException

      java.net.ConnectException: Connection refused

      at com.mysql.jdbc.StandardSocketFactory.connect()
    2. MySQL jdbc
      Connection.createNewIO
      1. com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
      2. com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
      3. com.mysql.jdbc.Connection.createNewIO(Connection.java:2666)
      3 frames