[
https://issues.apache.org/jira/browse/ZOOKEEPER-2910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16214154#comment-16214154
]
ken huang commented on ZOOKEEPER-2910:
--------------------------------------
As you say, you running three servers on the single machine(17/18/19), there
should be 9 ports listened on the single machine as followed:
{code:java}
for zk17: 2181 3181 4181
for zk18: 2182 3182 4182
for zk19: 2183 3183 4183
{code}
But i just fond zk19 is fine, zk18 and zk17 missing the port used for followers
use to connect to the leader.
I'm not sure whether my understanding is correct.
> zookeeper listening on unknown random port
> ------------------------------------------
>
> Key: ZOOKEEPER-2910
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2910
> Project: ZooKeeper
> Issue Type: Bug
> Components: server
> Affects Versions: 3.4.8
> Environment: CentOS 7
> Zookeeper 3.4.8
> JDK 1.8.0_111
> Reporter: ken huang
> Assignee: Patrick Hunt
>
> when zookeeper start, it will listen on three port:
> 2181 for client connnect
> 3888 for leader election
> random for what ?
> three are three port config in zoo.cfg, 2181、2888、3888, but no 2888 listened
> on.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)