1.服务器tomcat配置
Tomcat下catalina.bat 添加下面代码
set CATALINA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.rmi.port=1099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=122.152.221.128
set JAVA_OPTS=-Dcom.sun.management.jmxremote= -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.rmi.port=1099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
2.安装freesshd
下载地址: http://www.freesshd.com/?ctt=download
配置: https://rookiefly.cn/detail/55
3.IDEA 远程服务器配置
配置:https://blog.csdn.net/tianjun2012/article/details/52795202