java.net.ConnectException: Connection refused


Samebug tips

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


7 months ago
Expert tip

Solutions on the web

Solution icon of github
Connection refused

Solution icon of terracotta
via Terracotta by pkhamre, 1 year ago
Connection refused

Solution icon of github
via GitHub by carterpage
, 1 year ago
Connection refused

Solution icon of github
via GitHub by karel1980
, 1 year ago
Connection refused

Solution icon of github
via GitHub by xxlest
, 3 months ago
Connection refused

Solution icon of github
via GitHub by JohnReedLOL
, 11 months ago
Connection refused

Solution icon of github
Connection refused

Solution icon of github
via GitHub by pveentjer
, 1 year ago
Connection refused

Solution icon of github
via GitHub by porcobravo
, 1 year ago
Connection refused

Stack trace

java.net.ConnectException: Connection refused
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)[na:1.8.0_101]
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)[na:1.8.0_101]
	at org.apache.kafka.common.network.PlaintextTransportLayer.finishConnect(PlaintextTransportLayer.java:51)[kafka-clients-0.10.0.0.jar!/:na]
	at org.apache.kafka.common.network.KafkaChannel.finishConnect(KafkaChannel.java:73)[kafka-clients-0.10.0.0.jar!/:na]
	at org.apache.kafka.common.network.Selector.pollSelectionKeys(Selector.java:309)[kafka-clients-0.10.0.0.jar!/:na]
	at org.apache.kafka.common.network.Selector.poll(Selector.java:283)[kafka-clients-0.10.0.0.jar!/:na]
	at org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:260)[kafka-clients-0.10.0.0.jar!/:na]
	at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:229)[kafka-clients-0.10.0.0.jar!/:na]
	at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:134)[kafka-clients-0.10.0.0.jar!/:na]
	at java.lang.Thread.run(Thread.java:745)[na:1.8.0_101]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
175713 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
104806 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
123 more bugmates