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

,

Check if your MongoDB is available.

,

Check if your MariaDB is running and available.

Solutions on the web

via openas2 by irschad
, 1 year ago
Connection refused: connect
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 jboss.org by Unknown author, 9 months ago
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:516)
at java.net.Socket.connect(Socket.java:466)
at java.net.Socket.(Socket.java:366)
at java.net.Socket.(Socket.java:179)
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.terminate(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(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)

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
Samebug visitor profile picture
Unknown user
Once, 2 years ago
11 times, 8 months ago
949 more bugmates

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