mac 杀掉占用某个端口的进程

两个小命令:

lsof -i :端口
kill -9 进程ID

查看图片中的例子
比较简单,只是做一个记录

原文地址:https://www.cnblogs.com/LP1204/p/12174629.html