重启服务器需要注意
1. 原来正在跑的程序,注意加到自启动脚本里面。开机自启动
参考https://blog.youkuaiyun.com/sun007700/article/details/102749646
2. 程序中使用到的端口,注意添加到防火墙里面;
firewall-cmd --permanent --add-port=8089/tcp
firewall-cmd --reload
# iptables -nvL | grep 8089
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8089 ctstate NEW