mac下查找被占用端口

来源:互联网 发布:淘宝加购怎么弄 编辑:程序博客网 时间:2024/05/24 05:40

查看被占用的端口并杀死进程

lsof -i tcp:port

kill -9 pid


原创粉丝点击