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 Oracle Community by steve.g, 1 year ago
Could not connect to SMTP host: cardigan.hypertherm.com, port: 25; nested exception is: java.net.ConnectException: Connection refused at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTranspor t.java:1213)
via Stack Overflow by Beto Neto
, 2 years ago
STARTTLS is required but host does not support STARTTLS
via Stack Overflow by Shruti Singh
, 2 years ago
Could not connect to SMTP host: smtp.gmail.com, port: 465; nested exception is: java.net.ConnectException: Connection refused: connect at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1934)
via GitHub by zhuangjinxin
, 4 weeks ago
STARTTLS is required but host does not support STARTTLS
via GitHub by zhuangjinxin
, 3 months ago
javax.mail.MessagingException: Could not connect to SMTP host: cardigan.hypertherm.com, port: 25; nested exception is: java.net.ConnectException: Connection refused
    at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTranspor t.java:1213)	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:311)