一、服务端启动添加jvm参数:
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=$JMX_PORT -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false"
此配置不验证用户,也可以使用-Dcom.sun.management.jmxremote.password.file执行password配置文件,
配置模板可以参照$JAVA_HOME/jre/lib/management/jmxremote.password.template文件
二、在远程服务器上使用hostname -i查看当前服务器的ip,如果显示为127.0.0.1,需要修改/etc/hosts文件,
将127.0.0.1修改为服务器的真实IP,具体原因请参照:http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6209663
三、在连接串口输入服务器的ip和监听地址,正常连接。