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

Solutions on the web

via spark-user by Benyi Wang, 1 year ago
via spark-user by Benyi Wang, 1 year ago
via nabble.com by Unknown author, 1 year ago
via Google Groups by Rüdiger, 7 months ago
via Oracle Community by ManishAcharya, 1 year ago
Connection refused
via openas2 by santosh-vjit
, 3 months ago
Connection refused (Connection refused)
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)

Users with the same issue

13 times, 8 minutes ago
552 times, 4 hours ago
11 times, 2 days ago
26943 times, 3 days ago
5 times, 4 days ago

Write tip

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