On Sun, Apr 24, 2011 at 6:07 AM, Peter Schuller <peter.schul...@infidyne.com> wrote: >> Is there a way to bind the JMX to a specified IP only? It seems there's >> just 'com.sun.management.jmxremote.port' and no way to specify a host. > > I don't think so, or at least past googling indicated several people > wanting to do this but not finding answers. It's extremely annoying; > e.g. the common case of wanting to listen on 127.0.0.1 but no public > interfaces... > > -- > / Peter Schuller >
It can not be done. There is a sun bug id on this somewhere. The good news is that even if JMX binds to an IP you do not want it to, the redirect by hostname and dynamic port choosing in the JMX protocol will probably cause it not to work "security my complexity".