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. ,

    Make sure your server started correctly and is listening correctly on the correct port.

  2. ,
    Expert tip

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

Solutions on the web

via com.tr by Unknown author, 1 year ago
via blogspot.kr by Unknown author, 2 years ago
via blogspot.sg by Unknown author, 2 years ago
via blogspot.ca by Unknown author, 2 years ago
via blogspot.fr by Unknown author, 2 years ago
via blogspot.com by Unknown author, 1 year ago
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:339)	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)	at java.net.Socket.connect(Socket.java:579)	at java.net.Socket.connect(Socket.java:528)	at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:301)	at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:229)	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1950)	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:656)	at javax.mail.Service.connect(Service.java:345)	at javax.mail.Service.connect(Service.java:226)	at javax.mail.Service.connect(Service.java:175)	at javax.mail.Transport.send0(Transport.java:253)	at javax.mail.Transport.send(Transport.java:124)	at undefined.Testing.main(Testing.java:62)