Restricting JMX to localhost
问题 While there appears to some documentation on how to expose JMX through various firewall and tunneling schemes, I sort of want the opposite. I want to ensure that JMX is only accessible to local machine. Unfortunately it appears that the "out of the box" management options do not allow restricting the ports to a local interface and netstat shows them listening on any/all interfaces. http://java.sun.com/javase/6/docs/technotes/guides/management/agent.html#gdevf I have to admit I am bewildered