In addition to listening to the port you specified (1100) the JMX server also listens to a randomly chosen (ephemeral) port.
Check, e.g. with lsof -i|grep java if you are on linux/osx, which ports the java process listens to and make sure your firewall is open for the ephemeral port as well.
除了JMX server指定的监听端口号外,JMXserver还会监听一到两个随机端口号,
可以通过命令:lsof -i|grep java |grep <pid> 来查看当前java进程需要监听的随机端口号,


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

相关文章:

  • 2021-11-20
  • 2021-10-12
  • 2021-04-27
  • 2021-05-30
  • 2021-04-01
  • 2021-09-15
  • 2021-10-17
  • 2021-04-21
猜你喜欢
  • 2021-10-29
  • 2021-12-16
  • 2021-09-21
  • 2021-12-23
  • 2021-05-30
  • 2021-12-15
相关资源
相似解决方案