windows查找被占用端口号并杀死对应进程 1、win+R打开windows命令行窗口 2、输入netstat -ano | findstr “端口号”,查找被占用的pid进程号 3、输入taskkill /f /t /pid “进程PID” ,强制杀掉当前进程