window 查看端口占用

window 查看端口占用

烦人的占用

查看所有占用的端口

netstat -ano

查看指定的端口

netstat -aon|findstr "端口号"

image

查看占用端口的应用程序名称

tasklist|findstr "PID"

image

杀死该程序

taskkill /f /pid PID

image

posted @ 2022-11-21 15:42  dayNo  阅读(17)  评论(0编辑  收藏  举报