I am writting code for JMX to fetch CPU utilization.
To connect with remote machine, we need to pass the "url" to
JMXConnector, in this form--
JMXServiceURL url = new JMXServiceURL(
Here 8686 is the port for jvm, and thus i asked the qyestion.
By default, for the JVM, JMX connectors are *not* turned on -- so the "default" port of the JMX connector will depend on how you turned it on (which may also depend on what JMX implementation you are using).