title: The JVM option jmxremote.local.only=true does not work properly
body: <p>I wrote a batch Java 7 application that should be controlled by a JMX client. The JMX service is up and running, and I can connect to it using jConsole from my machine.</p>
  
  <p>I set the option -Dcom.sun.management.jmxremote.local.only=true to avoid any incoming connection except from 127.0.0.1.</p>
  
  <p>But... when I tried to connect from another computer, my connection wasn't filtered out, and I was able to access to JMX remotely.</p>
  
  <p>Here it is java invocation:</p>
  
  <pre><code>java -Dcom.sun.management.jmxremote ^
   -Dcom.sun.management.jmxremote.port=7000 ^
   -Dcom.sun.management.jmxremote.local.only=true ^
   -Dcom.sun.management.jmxremote.authenticate=false ^
   -Dcom.sun.management.jmxremote.ssl=false ^
   -cp lib/*;hns-consumer.jar it.andrearota.com.Main %1
  </code></pre>
  
  <p>Looks like that the option haven't been considered.</p>
  
  <p>Any help?</p>