netstat -ano //查看所有端口号 netstat -ano | findstr "端口号" //查看特定的端口号的信息 taskkill -pid 进程号 -f //根据上面查出的端口号的信息,杀死进程