Mac和Windows解决端口别占用的指令

来源:互联网 发布:java 获取服务器ip 编辑:程序博客网 时间:2024/06/05 11:21

Mac:

sudo lsof -i tcp:portsudo kill -9 PID

Windows:

netstat -aon|findstr 8080taskkill -f -pid 5956亲测有用.


原创粉丝点击