windows 端口占用以及kill进程

1、查找被占用的端口pid

netstat -ano|findstr "8080"

2、kill进程

taskkill /t /f /pid xxx
posted @ 2023-04-25 09:20  尐海爸爸  阅读(41)  评论(0编辑  收藏  举报