java.net.ConnectException: Connection refused at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTra nsport.java:1282) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SM TPTransport.java:370)

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 open-xchange.com by Unknown author, 1 year ago
Connection refused at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTra nsport.java:1282) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SM TPTransport.java:370)
via open-xchange.com by Unknown author, 1 year ago
Connection refused at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTra nsport.java:1282) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SM TPTransport.java:370)
via james-server-user by Serge Knystautas, 1 year ago
Connection refused: connect at > > > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:867) at > > > com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:156)
via james-server-user by Kunal Mehta, 1 year ago
Connection refused: connect at > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:867) at > com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:156)
via Atlassian JIRA by Aulia Fajri [Atlassian], 1 year ago
Connection refused 2016-08-30 09:20:00.087304500 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2118) 2016-08-30 09:20:00.087307500 at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:712)
via greatknow.com by Unknown author, 1 year ago
Connection refused: connect at com.sun.mail.pop3.POP3Store.protocolConnect(POP3St ore.java:161)
java.net.ConnectException: Connection refused at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTra nsport.java:1282) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SM TPTransport.java:370)
at javax.mail.Service.connect(Service.java:275)
at javax.mail.Service.connect(Service.java:156)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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