参考:https://jingyan.baidu.com/article/546ae1853947b71149f28cb7.html
1、lsof -i:端口号
2、netstat -tunlp|grep 端口号