Subscribe to RSS feed  Follow @jackvamvas - Twitter

*Use the Comments section for questions Links



How to find Kafka port number and Zookeeper port number

01 October,2019 by Rambler

Question: I need to supply the Kafka port number and Zookeeper port number for firewall exceptions. Where can I find the port number details for both Kafka and Zookeeper ? 

Answer : To find the Kafka port number - locate the Kafka file. Typically the  file will have the information required. The file is normally found on this location . By default the port number is 9092.   


To find the Zookeeper port number - locate the Zookeeper properties file. Normally found on $(confluent_home)/etc/kafka/ Once you've opened the file , look for ClientPort=2181
For Zookeeper -
2181 = Client connections
2888 = Zookeeper followers
3888= inter node connections
Read more on Apache Kafka 

Author: Rambler (


Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.


Post a comment on How to find Kafka port number and Zookeeper port number