[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17730029#comment-17730029
 ] 

Andor Molnar commented on ZOOKEEPER-2910:
-----------------------------------------

{quote}It can be a JMX port. You can run with JMXDISABLE=1 to see if the extra 
port occupation disappears.
{quote}
Confirmed on branch-3.5 as well. The port is a random port opened for remote 
JMX and can be disabled by setting JMXDISABLE something other than 'false'.

See more details in bin/zkServer.sh.

> 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 D. Hunt
>            Priority: Major
>
> 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
(v8.20.10#820010)

Reply via email to