JMX 配置

来源:互联网 发布:墨西哥贩毒 知乎 编辑:程序博客网 时间:2024/05/20 14:24

-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=10008 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=192.168.1.241

说明:

   如果不配置-Djava.rmi.server.hostname=192.168.1.241,则可能在其它主机上无法连接该jmx端口

0 0