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

via spark-user by Benyi Wang, 1 year ago
via spark-user by Benyi Wang, 1 year ago
via Google Groups by Rüdiger, 5 months ago
via Oracle Community by ManishAcharya, 1 year ago
Connection refused
via openas2 by santosh-vjit
, 1 month ago
Connection refused (Connection refused)
java.net.ConnectException: 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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
2 times, 1 month ago
Once, 1 year ago
Once, 1 year ago
298 more bugmates

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