Linux查看端口使用状态、关闭端口进程

通过

netstat -anp | grep 进程名

查询当前进程的PID

kill -9 PID

再通过上面命令 进行杀掉

原文地址:https://www.cnblogs.com/dnfhao/p/15146426.html