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

Arshad Mohammad commented on ZOOKEEPER-1971:
--------------------------------------------

When jmx is enabled, it opens total three ports(two extra ports),
*When JMX enabled and JMX configured port is 9090*
*netstat -nap | grep pid result:*
{noformat}
tcp        0      0 0.0.0.0:4446            0.0.0.0:*               LISTEN      
14898/java --debug
tcp        0      0 :::58702                :::*                    LISTEN      
14898/java --THIS IS EXTRA PORT
tcp        0      0 127.0.0.1:3890          :::*                    LISTEN      
14898/java  --leader election port
tcp        0      0 :::62899                :::*                    LISTEN      
14898/java --THIS IS EXTRA PORT
tcp        0      0 :::8090                 :::*                    LISTEN      
14898/java -- admin port
tcp        0      0 :::9090                 :::*                    LISTEN      
14898/java --THIS IS CONFIGURED JMX PORT
tcp        0      0 :::2183                 :::*                    LISTEN      
14898/java --client port
tcp        0      0 127.0.0.1:2890          :::*                    LISTEN      
21284/java --quorum peer port
{noformat}

*When JMX disabled by adding export JMXDISABLE=true in zkEnv.sh*
*netstat -nap | grep pid result:*
{noformat}
tcp        0      0 0.0.0.0:4446            0.0.0.0:*               LISTEN      
21284/java
tcp        0      0 127.0.0.1:3890          :::*                    LISTEN      
21284/java
tcp        0      0 :::8090                 :::*                    LISTEN      
21284/java
tcp        0      0 :::2183                 :::*                    LISTEN      
21284/java
tcp        0      0 127.0.0.1:2890          :::*                    LISTEN      
21284/java
{noformat}
There is no extra port in this case


> Make JMX remote monitoring port configurable
> --------------------------------------------
>
>                 Key: ZOOKEEPER-1971
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1971
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>         Environment: All
>            Reporter: Biju Nair
>            Assignee: Arshad Mohammad
>
> This is a follow-up item from ZOOKEEPER-1948.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to