There is the fabled

java.rmi.server.hostname 

http://blog.reactive.org/2011/02/connecting-to-cassandra-jmx-via-ssh.html
http://download.oracle.com/javase/1.4.2/docs/guide/rmi/javarmiproperties.html

Not sure if anyone has got it working correctly. 

Aaron


On 25 Apr 2011, at 03:51, Edward Capriolo wrote:

> 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".

Reply via email to