Kafka starting error

WARN Session 0x0 for server /ipaddress:2181, Closing socket connection. Attempting reconnect except it is a SessionExpiredException. (org.apache.zookeeper.ClientCnxn)

java.net.ConnectException: Connection refused

kindly suggest me what to do how to solve

zookeeper running fine?

firewall issue?


Zookeepwr working properly

what about a firewall in between?

could you share your conf?