1、根据端口号来查询进程ID
netstat -ano | findstr "端口号"
2、根据进程ID来查询进程名
tasklist | findstr 进程ID
3.根据进程名,关闭所有进程及其子线程
taskkill /f /t /im 进程名字
1、根据端口号来查询进程ID
netstat -ano | findstr "端口号"
2、根据进程ID来查询进程名
tasklist | findstr 进程ID
3.根据进程名,关闭所有进程及其子线程
taskkill /f /t /im 进程名字