1参考
https://www.jianshu.com/p/923580d3a5a2
2启动时
java \
-Dcom.sun.management.jmxremote.authenticate=false \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.port=1099 \
-Djava.rmi.server.hostname=192.168.145.138 \
-jar 01-spring-boot-helloWorld-1.0.jar &
hostname 本机IP
port :jmx 端口
网友评论