java.net.ConnectException: Connection refused

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 GitHub by dwijnand
, 1 year ago
via Stack Overflow by Pranava Sheoran
, 2 years ago
Connection refused: connect
via blogspot.com by Unknown author, 2 years ago
via Stack Overflow by susparsy
, 2 years ago
java.net.ConnectException: Connection refused
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1961)
at javax.mail.Service.connect(Service.java:295)
at javax.mail.Service.connect(Service.java:176)
at javax.mail.Service.connect(Service.java:125)
at javax.mail.Transport.send0(Transport.java:194)
at javax.mail.Transport.send(Transport.java:124)
at com.typesafe.dbuild.build.EmailNotificationContext.send(Notifications.scala:185)
at com.typesafe.dbuild.build.EmailNotificationContext.send(Notifications.scala:94)

Users with the same issue

Once, 1 year ago
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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