关闭mac上本地端口服务

2018-03-06  本文已影响749人  Allan要做活神仙

Find out the process ID (PID) which is occupying the port number (e.g., 5955) you would like to free

sudo lsof -i :5955

Kill the process which is currently using the port using its PID

sudo kill -9 PID
上一篇 下一篇

猜你喜欢

热点阅读