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

  1. ,
    Expert tip

    Check if your firewall is not blocking your connection. If it's not, you might need to explicitly set advertised.host.name to advertised.host.name = yourIpAddress, this forces the hosts returned to be the resolvable IP address of your VM.

Solutions on the web

via incubator-kafka-users by Guozhang Wang, 1 week ago
via kafka-users by Yu Bo(技术中心), 9 months ago
via kafka-users by Guozhang Wang, 9 months ago
via kafka-users by Guozhang Wang, 9 months ago
via kafka-users by Yu Bo(技术中心), 1 year ago
via incubator-kafka-users by Yu Bo(技术中心), 1 week ago
java.net.ConnectException: Connection refused	at sun.nio.ch.Net.connect(Native Method)	at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)	at kafka.network.BlockingChannel.connect(BlockingChannel.scala:57)	at kafka.consumer.SimpleConsumer.connect(SimpleConsumer.scala:44)	at kafka.consumer.SimpleConsumer.reconnect(SimpleConsumer.scala:57)	at kafka.consumer.SimpleConsumer.liftedTree1$1(SimpleConsumer.scala:79)	at kafka.consumer.SimpleConsumer.kafka$consumer$SimpleConsumer$$sendRequest(SimpleConsumer.scala:71)	at kafka.consumer.SimpleConsumer$$anonfun$fetch$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(SimpleConsumer.scala:110)