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 Google Groups by Muhammad Farooq, 1 year ago
via Google Groups by Leonard Kerr, 1 year ago
via Google Groups by anirud...@assurity.co.nz, 2 years ago
Connection timed out: connect
via Google Groups by Atul Dongre, 1 year ago
Connection refused: connect
via cognoise.com by Unknown author, 1 year ago
Connection refused: connect
via mamute.org by Unknown author, 1 year ago
Connection refused: connect
java.net.ConnectException: Connection refused: connect	at java.net.DualStackPlainSocketImpl.connect0(Native Method)	at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)	at java.net.Socket.connect(Socket.java:589)	at java.net.Socket.connect(Socket.java:538)	at java.net.Socket.(Socket.java:434)	at java.net.Socket.(Socket.java:286)	at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)	at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)	at org.apache.commons.httpclient.HttpConnection.open(Unknown Source)	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)	at org.parosproxy.paros.network.HttpSender.executeMethod(Unknown Source)	at org.parosproxy.paros.network.HttpSender.runMethod(Unknown Source)	at org.parosproxy.paros.network.HttpSender.send(Unknown Source)	at org.parosproxy.paros.network.HttpSender.sendAuthenticated(Unknown Source)	at org.parosproxy.paros.network.HttpSender.sendAndReceive(Unknown Source)	at org.parosproxy.paros.network.HttpSender.sendAndReceive(Unknown Source)	at org.parosproxy.paros.core.proxy.ProxyThread.processHttp(Unknown Source)	at org.parosproxy.paros.core.proxy.ProxyThread.run(Unknown Source)	at java.lang.Thread.run(Thread.java:745)