java.net.ConnectException: Connection refused

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

java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)

Users with the same issue

408 times, 12 hours ago
20 times, 4 days ago
23 times, 1 week ago
307 times, 1 week ago
57 times, 1 week ago
298 more bugmates

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