首页  

jconsole连接jmx失败处理     所属分类 jmx 浏览量 1207
java.rmi.ConnectException: Connection refused to host: 192.168.1.xxx; nested exception is:
 java.net.ConnectException: Connection timed out: connect


-Dcom.sun.management.jmxremote.ssl=false  
-Dcom.sun.management.jmxremote.authenticate=false  


-Djava.rmi.server.hostname=192.168.1.xxx 
-Dcom.sun.management.jmxremote.port=9988  
-Dcom.sun.management.jmxremote.rmi.port=9988


注意参数 com.sun.management.jmxremote.rmi.port 
JMX is base on RMI, which open two port when it start. 
两个端口可设置成一样

防火墙开放端口

 centos7防火墙配置 

上一篇     下一篇
javaagent机制

javaagent两种加载方式及实例

Java8日期api使用

大数据风控概述

金融科技关键技术及应用

智能风控介绍