cmd 查看端口占用情况,及对应进程,杀进程

1. netstat -aon


2. netstat -aon|findstr "端口" :  查看指定端口的占用情况


3. tasklist|findstr "进程ID" :查看对应进程的任务


4. taskkill taskkill /f /t /im phpstorm64.exe

猜你喜欢

转载自blog.csdn.net/mengzuchao/article/details/80318536