Skip to content

Apache ZooKeeper — Common Ports

Community software entries: links are references, not individual verification.

Role Unconfirmed (3)

2181
tcpEnterprise

Apache ZooKeeper client connection port for distributed coordination service

Default port for Apache ZooKeeper coordination service

2888
tcpEnterprise

Apache ZooKeeper cluster communication port for inter-cluster node communication

DistributedServiceClusterPort

3888
tcpEnterprise

Apache ZooKeeper election port for cluster leader election

DistributedServiceClusterleaderPort

Scope

Port associations on this page are community-database references (common usage), not a live measurement of any machine; confirm with the official documentation before deployment.

Frequently asked questions

What port does Apache ZooKeeper use?

Apache ZooKeeper commonly uses these ports: 2181, 2888, 3888. These are community database references — actual configuration may differ.

How do I check if Apache ZooKeeper is running?

Run sudo ss -tlpn 'sport = :2181 or sport = :2888 or sport = :3888' on the server to check for listening processes on these ports. Also use systemctl status <service> to check the service state. Without root you may not see other users' processes. A listening port alone does not prove the software identity — verify with the config file and process name.

What category does Apache ZooKeeper belong to?

Apache ZooKeeper belongs to the Enterprise category. This page lists the software's port associations and their roles.

What other ports does Apache ZooKeeper use besides the default?

Apache ZooKeeper also uses these ports: 2181, 2888, 3888. Their purpose (admin interface, metrics, or alternative configuration) is detailed in the role-grouped list above.