cmd 关闭端口

1. 命令(关闭8080 端口)

netstat -ano |findstr 8080

2. 关闭进程 (8732 为上一命令查到的进程id)

taskkill /t /f /pid 8732

 

posted @ 2022-06-25 15:33  得好好活  阅读(1674)  评论(0)    收藏  举报