版权声明:转载请注明出处 https://blog.csdn.net/qq_35028064/article/details/83655529
1.查询端口占用
netstat -ano | findstr "端口"
example: netstat -ano|findstr "8080"
2.杀死进程
taskkill -f -pid "pid"
Example: taskkill -f -pid "2136"
实际操作示例图解
1.查询端口占用
netstat -ano | findstr "端口"
example: netstat -ano|findstr "8080"
2.杀死进程
taskkill -f -pid "pid"
Example: taskkill -f -pid "2136"
实际操作示例图解