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

Solutions on the web

via Stack Overflow by hiro
, 2 years ago
failed to connect to smtp.gmail.com/2404:6800:4008:c01::6c (port 587): connect failed: ECONNREFUSED (Connection refused)
via Stack Overflow by user1645434
, 2 years ago
Connection timed out: connect
via Stack Overflow by SomeOne
, 2 years ago
Connection timed out: connect
via Oracle Community by 843834, 1 year ago
java.net.ConnectException: Connection refused: connect	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391)	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412)	at javax.mail.Service.connect(Service.java:288)