Well, after a bit of researching it turns out that since Zookeeper servers
act as both client (trying to connect to other servers) and server
(listening for connections from other zk servers) it must choose an
ephemeral port when trying to connect to other server (as client).

This ephemeral port is taken from the range defined by the output of the
following command
sysctl net.ipv4.ip_local_port_range
which in my case was 32768-61000. 





--
View this message in context: 
http://zookeeper-user.578899.n2.nabble.com/Zookeeper-listening-to-ports-other-than-clientPort-and-server-x-ports-tp7580137p7580138.html
Sent from the zookeeper-user mailing list archive at Nabble.com.

Reply via email to