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

  1. ,

    Check if your MariaDB is running and available.

  2. ,

    Check if your MongoDB is available.

Solutions on the web

via Stack Overflow by Paul Coyle
, 4 months ago
via Stack Overflow by Paul Coyle
, 4 months ago
Connection refused (Connection refused)
via Stack Overflow by bwillemo
, 9 months ago
Connection refused (Connection refused)
via GitHub by korniltsev
, 1 year ago
java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at java.net.Socket.<init>(Socket.java:434) at java.net.Socket.<init>(Socket.java:211) at demoline.TCPClient.main(TCPClient.java:22)