Windows如何关闭被占用的端口?

Windows如何关闭被占用的端口?

1、以管理员权限运行cmd

2、查找被占用的端口,例如3306

netstat -ano | findstr 3306
在这里插入图片描述

3、关闭进程:

taskkill -PID 7206 -F
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_45697116/article/details/124527960