[ https://issues.apache.org/jira/browse/ZOOKEEPER-2910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16213383#comment-16213383 ]
Patrick Hunt commented on ZOOKEEPER-2910: ----------------------------------------- I have three servers in the ensemble running on the single machine (17/18/19). The client ports are 2181/2182/2183 respectively. The quorum/election ports are similarly configured. I used configs generated from https://github.com/phunt/zkconf - perhaps the way you are starting the services is different. I'd recommend looking at the command lines used to start the java process. Perhaps you do a bit of analysis to find out which thread in the JVM is using that port, etc.... > 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)