windows系统关闭端口占用进程

1.查找端口占用进程ID

netstat -ano|findstr "8080"

2.通过进程ID查找进程名

tasklist |findstr "15036"

3.杀死进程(指定进程ID或进程名)

taskkill /f /t /im 15036

4.再次查找占用8080端口进程

posted @ 2019-04-18 09:47  BretGui  阅读(397)  评论(0编辑  收藏  举报