mac 查找被占用的8080端口并关闭 查找8080端口 sudo lsof -i :8080 然后根据PID杀进程: sudo kill -9 61342(即pid) ====== 转载自:https://www.jianshu.com/p/6428b6852f88