Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Firewall might be blocking your connection, or MySQL it's not running on your server machine.

  2. ,
    Expert tip

    Check if you have started your server, or if your server is set to listen to the port you're trying to connect and is waiting to accept connections and check if the firewall isn't blocking your connection.

Solutions on the web

via Stack Overflow by AmazingBergkamp
, 1 year ago Connection refused: connect2015-04-27 11:42:02,306 INFO [Thread-2] server.DatabaseWorker ( - Database server is Running
via Stack Overflow by mhn
, 2 years ago Connection refused: connect
via Stack Overflow by Dev
, 2 months ago
connection exception: connection failure: java.lang.OutOfMemoryError: Java heap space
via Stack Overflow by Mohd
, 1 month ago
connection exception: connection failure:
via by Unknown author, 2 years ago
connection exception: connection failure: Broken pipe
via openxava by ramos
, 4 months ago Connection refused: connect Connection refused: connect	at Method)	at	at	at	at	at	at	at	at	at	at	at org.hsqldb.server.HsqlSocketFactory.createSocket(Unknown Source)	at org.hsqldb.ClientConnection.openConnection(Unknown Source)	at org.hsqldb.ClientConnection.initConnection(Unknown Source)	at org.hsqldb.ClientConnection.(Unknown Source)	at org.hsqldb.jdbc.JDBCConnection.(Unknown Source)	at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source)	at org.hsqldb.jdbc.JDBCDriver.connect(Unknown Source)	at java.sql.DriverManager.getConnection(	at java.sql.DriverManager.getConnection(	at rideabike.server.DatabaseManager.getDBConn(	at