win + r 打开doc窗口,输入cmd 然后输入命令 netstat -ano | findstr “端口号” 找到被占用的进程号,最后一个数字即为进程号,输入终止命令即可 taskkill -pid 进程号 -f