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 Coderanch by vinayak jog, 1 year ago
via java-samples.com by Unknown author, 1 year ago
via blogspot.com by Unknown author, 2 years ago
java.net.ConnectException: Connection timed out	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)	at java.net.Socket.connect(Socket.java:525)	at java.net.Socket.connect(Socket.java:475)	at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)	at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)	at javax.mail.Service.connect(Service.java:297)	at javax.mail.Service.connect(Service.java:156)	at javax.mail.Service.connect(Service.java:105)	at javax.mail.Transport.send0(Transport.java:168)	at javax.mail.Transport.send(Transport.java:98)	at postmail.PostMail.postMail(PostMail.java:69)	at postmail.Main.main(Main.java:27)