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 compiletimeerror.com by Unknown author, 1 year ago
via compiletimeerror.com by Unknown author, 1 year ago
via Stack Overflow by Batuhan Bardak
, 2 years ago
Connection timed out: connect
via Oracle Community by 843834, 1 year ago
Connection timed out: connect
via Oracle Community by 843834, 1 year ago
via Oracle Community by 843834, 1 year ago
Connection timed out: connect
java.net.ConnectException: Connection timed out: connect	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:412)	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:271)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:258)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:376)	at java.net.Socket.connect(Socket.java:546)	at java.net.Socket.connect(Socket.java:495)	at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:321)	at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:237)	at com.sun.mail.iap.Protocol.(Protocol.java:116)	at com.sun.mail.imap.protocol.IMAPProtocol.(IMAPProtocol.java:115)	at com.sun.mail.imap.IMAPStore.newIMAPProtocol(IMAPStore.java:685)	at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:636)	at javax.mail.Service.connect(Service.java:295)	at javax.mail.Service.connect(Service.java:176)	at com.abs.ReadingEmail.main(ReadingEmail.java:21)