window查看端口使用

window查看端口使用:

     1:netstat -aon | findstr "3306"

           TCP    0.0.0.0:3306           0.0.0.0:0              LISTENING       2956

     2:tasklist | findstr "2956"

           mysqld.exe                    2956 Services                   0    451,820 K 

     3:taskkill -F -PID 2956

猜你喜欢

转载自845642761.iteye.com/blog/2302694
今日推荐