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

    Check if your server (or a proxy server) is not going up and down. There might be something between a proxy and a client sending intermittent requests to non-functioning hosts as well. There might as well be too many requests in a short amount of time.

  2. ,
    Expert tip

    Check if your server (or a proxy server) is not going up and down. There might be something between a proxy and a client sending intermittent requests to non-functioning hosts as well. There might as well be too many requests in a short amount of time.

Solutions on the web

via Oracle Community by 807607, 1 year ago
via coderanch.com by Unknown author, 1 year ago
via Stack Overflow by javafreak
, 1 year ago
Connection timed out: connect
via coderanch.com by Unknown author, 2 years ago
via java.net by Unknown author, 2 years ago
Connection refused: connect
java.net.ConnectException: Connection timed out: 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.SocksSocketImpl.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.BaseSSLSocketImpl.connect(Unknown Source)	at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:284)	at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:201)	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1672)	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:525)	at javax.mail.Service.connect(Service.java:291)	at javax.mail.Service.connect(Service.java:172)	at sample.SendMail.sendMail(SendMail.java:76)	at sample.SendMail.main(SendMail.java:24)