查看端口占用: lsof -i tcp:${端口}
lsof -i tcp:${端口}
杀死进程:kill ${pid}
kill ${pid}
如果杀不死,则使用:sudo kill -9 ${pid}
sudo kill -9 ${pid}