windows查看端口占用的进程和杀死进程

1通过端口查进程

idnetstat -ano | findstr "LISTENING"| findstr ":10000"

2.通过进程查应用(图为百度网盘的子程序)

tasklist |findstr "2708"

3.通过进程id杀死进程

taskkill /f /t /im “2708”

原文地址:https://www.cnblogs.com/jkwll/p/10813719.html