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 user3254705
, 11 months ago
via Stack Overflow by AliceIs Dead
, 2 years ago
via Stack Overflow by Question Asker
, 1 year ago
Connection refused: connect
via GitHub by starguy
, 2 years ago
Connection refused: connect
via Stack Overflow by Unknown author, 2 years ago Connection refused: connect	at Method)	at Source)	at Source)	at Source)	at Source)	at Source)	at Source)	at Source)	at Source)	at Source)	at Source)	at Source)	at org.springframework.integration.ip.tcp.connection.TcpNetClientConnectionFactory.createSocket(	at org.springframework.integration.ip.tcp.connection.TcpNetClientConnectionFactory.buildNewConnection(	at org.springframework.integration.ip.tcp.connection.AbstractClientConnectionFactory.obtainNewConnection(	at org.springframework.integration.ip.tcp.connection.AbstractClientConnectionFactory.obtainConnection(	at org.springframework.integration.ip.tcp.connection.AbstractClientConnectionFactory.getConnection(	at org.springframework.integration.ip.tcp.connection.AbstractClientConnectionFactory.getConnection(	at	at	at java.util.concurrent.Executors$ Source)	at java.util.concurrent.FutureTask.runAndReset(Unknown Source)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)	at java.util.concurrent.ScheduledThreadPoolExecutor$ Source)	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor$ Source)	at Source)