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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via openas2 by davaasuren
, 1 year ago
Connection refused: connect
via openas2 by brian_lai
, 1 year ago
Connection refused: connect
via openas2 by vijaya6jun
, 1 year ago
Connection refused: connect
via openas2 by irschad
, 1 year ago
Connection refused: connect
via Oracle Community by 843798, 1 year ago
Connection refused: connect
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.(Unknown Source)
at java.net.Socket.(Unknown Source)
at org.openas2.logging.SocketLogger.sendToSocket(Unknown Source)
at org.openas2.logging.SocketLogger.doLog(Unknown Source)
at org.openas2.logging.BaseLogger.log(Unknown Source)
at org.openas2.logging.LogManager.log(Unknown Source)
at org.openas2.OpenAS2Exception.log(Unknown Source)
at org.openas2.OpenAS2Exception.(Unknown Source)
at org.openas2.message.InvalidMessageException.(Unknown Source)
at org.openas2.util.IOUtilOld.handleError(Unknown Source)
at org.openas2.processor.receiver.DirectoryPollingModule.processFile(Unknown Source)
at org.openas2.processor.receiver.DirectoryPollingModule.updateTracking(Unknown Source)
at org.openas2.processor.receiver.DirectoryPollingModule.poll(Unknown Source)
at org.openas2.processor.receiver.PollingModule$PollTask.run(Unknown Source)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
18 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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