端口占用命令

查看端口占用:lsof -i tcp:port
 
杀掉进程:kill -9 PID 
 
 
 
 
原文地址:https://www.cnblogs.com/dearddu/p/12457293.html