The JMX Property com.sun.management.jmxremote.local.only Appears to be Ineffective
(Doc ID 1641501.1)
Last updated on NOVEMBER 06, 2018
Applies to:Java SE JDK and JRE - Version 7 and later
Information in this document applies to any platform.
Starting with Java SE 7, a new property for the JMX RMI Connector Server was introduced: com.sun.management.jmxremote.local.only
It is described in the Java SE 7 and JDK 7 Compatibility guide.
You expect to be not able to connect a JVM from outside the machine by default if com.sun.management.jmxremote.local.only has been set to true. But you can connect to your JVM using jvisualvm or jconsole from outside, independent of the value of com.sun.management.jmxremote.local.only flag. It seems to you that the option has no effect.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document