title: How to monitor kafka 0.10.0 running on remote machine using jmx?
body: <p>I am using kafka 0.10.0 which is running both in local and remote machine.
  When i run "jvisualvm" command in terminal  its open Java VisualVM window and shows all java application including kafka which is running in local machine.</p>
  
  <p>But when i tried to access kafka 0.10.0 which is running in remote machine it shows error message can not connect to server</p>
  
  <p><a href="https://i.stack.imgur.com/rvhjB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rvhjB.png" alt="enter image description here"></a></p>
  
  <p>How to monitor kafka 0.10.0 running on remote machine using jmx?</p>
  
  <p>Edit 1===>
  I start the kafka server using command</p>
  
  <pre><code> JMX_PORT=9999 bin/kafka-server-start.sh config/server.properties
  </code></pre>
  
  <p>Also verified process in pointing using command </p>
  
  <pre><code>netstat -nlp | grep :9999 
  </code></pre>
  
  <p>Output: tcp6 0 0 :::9999 :::* LISTEN 5429/java </p>
  
  <p>But when i try connect through my local machine its giving same error</p>