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

,
Expert tip

This was a bug at HBase 1.0.1, it has been patched, so an update to 1.0.2 or further should solve the problem. URL for the Jira thread: https://goo.gl/c5oa6f

Solutions on the web

via GitHub by dhgrz
, 1 year ago
Connection refused
via GitHub by luck02
, 2 years ago
Connection refused
via GitHub by thbeh
, 7 months ago
Connection refused
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)

Users with the same issue

Once, 1 year ago
35179 times, 2 months ago
2978 times, 5 months ago
108 times, 5 months ago
21 times, 6 months ago

Write tip

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