java.net.ConnectException: Connection refused: connect

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 openas2 by testas2
, 1 year ago
Connection refused: connect
via Oracle Community by 807607, 1 year ago
via Oracle Community by 843830, 1 year ago
java.net.ConnectException: Connection refused: connect
at javax.mail.Transport.send0(Transport.java:218)
at javax.mail.Transport.send(Transport.java:80)
at org.openas2.logging.EmailLogger.sendMessage(EmailLogger.java:102)
at org.openas2.logging.EmailLogger.doLog(EmailLogger.java:71)
at org.openas2.logging.BaseLogger.log(BaseLogger.java:32)
at org.openas2.logging.LogManager.log(LogManager.java:43)
at org.openas2.OpenAS2Exception.terminate(OpenAS2Exception.java:47)
at org.openas2.processor.sender.AS2SenderModule.handle(AS2SenderModule.java:101)
at org.openas2.processor.DefaultProcessor.handle(DefaultProcessor.java:53)
at org.openas2.processor.receiver.DirectoryPollingModule.processFile(DirectoryPollingModule.java:91)
at org.openas2.processor.receiver.DirectoryPollingModule.poll(DirectoryPollingModule.java:61)
at org.openas2.processor.receiver.PollingModule$PollTask.run(PollingModule.java:49)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)

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.