1、查看當(dāng)前端口占用進(jìn)程
netstat -ano | findstr *<port used>* TCP 0.0.0.0:*<port used>* 0.0.0.0:0 LISTENING *<pid>* TCP [::]:*<port used>* [::]:0 LISTENING *<pid>* >
2、殺掉指定進(jìn)程
taskkill /F /PID *<pid> SUCCESS: The process with PID *<pid>* has been terminated.