java.net.SocketException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • run initdb.sh
    via opengts by mark_spatial
    ,
  • unable to connect to Mysql database
    via by 843859,
    • 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:284) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2569) at com.mysql.jdbc.Connection.<init>(Connection.java:1485) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266) at java.sql.DriverManager.getConnection(DriverManager.java:525) at java.sql.DriverManager.getConnection(DriverManager.java:171) at org.opengts.dbtools.DBConnection.getConnection(DBConnection.java:294) at org.opengts.dbtools.DBConnection.createStatement(DBConnection.java:353)

    Users with the same issue

    Unknown visitor1 times, last one,
    esaar
    6 times, last one,
    Unknown visitor1 times, last one,