- Open Terminal.
- Run the command with the port used : example :
lsof -i :<port_number>
Now kill the process by running the following command :
kill -9 <PID>
image.png
lsof -i :<port_number>
Now kill the process by running the following command :
kill -9 <PID>
image.png
本文标题:Mac 关闭被占用的端口
本文链接:https://www.haomeiwen.com/subject/kvepkctx.html
网友评论