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 Oracle Community by 843802, 1 year ago
Connection refused: connect
via Coderanch by Suresh KumarPandey, 1 year ago
Connection refused: connect
via Google Groups by Unknown author, 6 months ago
Connection refused: connect
via Google Groups by Simon Kelly, 2 years ago
Connection refused: connect
java.net.ConnectException: Connection refused: connect	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.PlainSocketImpl.doConnect(Unknown Source)	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)	at java.net.PlainSocketImpl.connect(Unknown Source)	at java.net.Socket.connect(Unknown Source)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.(Unknown Source)	at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source)	at com.isiglo21.softphone.data.Listener.run(Listener.java:124)