mac解决eclipse 端口占用问题

从终端查找此端口上运行的进程ID,例如8080:

lsof -i :8080

并杀死它:

kill -9 <PID>
原文地址:https://www.cnblogs.com/Z-D-/p/6706143.html