我如何设置jmx来侦听特定的IP

我正在尝试configurationjboss以允许使用jmx工具进行监视(我正在查看几个,因此不需要提供)。

查看java jmx文档中的属性,似乎没有属性来设置主机,所以如果我在同一台机器上运行多个jboss,那么我必须在每个启动脚本中定义不同的端口(这是维修噩梦)

com.sun.management.jmxremote com.sun.management.jmxremote.port com.sun.management.jmxremote.registry.ssl com.sun.management.jmxremote.ssl com.sun.management.jmxremote.ssl.enabled.protocols com.sun.management.jmxremote.ssl.enabled.cipher.suites com.sun.management.jmxremote.ssl.need.client.auth com.sun.management.jmxremote.authenticate com.sun.management.jmxremote.password.file com.sun.management.jmxremote.access.file com.sun.management.jmxremote.login.config 

有谁知道我怎么可以安装主机在jmx?

显然你不能(除非你开始修改你的容器中的东西)。

https://stackoverflow.com/questions/331615/how-to-have-jmx-bind-to-a-specific-interface