MacOS关闭指定端口

查看端口的PID

lsof -i:端口号

杀死PID

kill -9 PID

猜你喜欢

转载自www.cnblogs.com/artwalker/p/13180373.html