java.net.SocketTimeoutException: connect timed out

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

,
Expert tip

Check for proxy misconfigurations and AWS issues.

Solutions on the web

via Google Groups by Unknown author, 1 year ago
via Stack Overflow by J. K.
, 2 years ago
via Jenkins JIRA by Viktor Berke, 1 year ago
connect timed out
via Jenkins JIRA by sumit chudasama, 1 year ago
connect timed out
via Google Groups by Steve Berg, 2 years ago
java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:310)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:236)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2019)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2053)
at javax.mail.Service.connect(Service.java:364)
at javax.mail.Service.connect(Service.java:245)
at javax.mail.Service.connect(Service.java:194)
at javax.mail.Transport.send0(Transport.java:253)
at javax.mail.Transport.send(Transport.java:124)

Users with the same issue

Once, 6 days ago
Once, 1 week ago
18 times, 1 month ago
16 times, 1 month ago
8 times, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.