Windows杀死指定端口进程

看热闹的蓝胖子 / 2023-08-24 / 原文

查看端口pid 

netstat -aon | findstr 端口

查看端口运行的进程

tasklist | findstr 端口

杀死pid

 taskkill /pid 31572 /f