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 MongoDB is available.

  2. ,

    Check if your MariaDB is running and available.

Solutions on the web

via Oracle Community by 408071, 1 year ago
via Google Groups by Peter Büttner, 7 months ago
via Oracle Community by user8680179, 2 years ago
Connection refused
via Oracle Community by 843833, 2 years ago
via Google Groups by Bruno Beloff, 7 months ago
java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:336) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:201) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:188) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.connect(Socket.java:428) at java.net.Socket.<init>(Socket.java:335) at java.net.Socket.<init>(Socket.java:179) at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:1912) at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:2922) at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2150) at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:3561) at HTTPClient.HTTPConnection.Post(HTTPConnection.java:2494) at HTTPClient.HTTPConnection.Post(HTTPConnection.java:2621) at HTTPClient.HTTPConnection.Post(HTTPConnection.java:2515)