windows10下关闭端口占用

打开cmd窗口

1. 占用查询端口的pid查询

netstat -ano|findstr "9097"

2. 关闭对应pid

taskkill -F -PID 6832 成功: 已终止 PID 为 6832 的进程。

 

https://blog.csdn.net/tianjun2012/article/details/79806760

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章