window 查看端口占用
window 查看端口占用
烦人的占用
查看所有占用的端口
netstat -ano
查看指定的端口
netstat -aon|findstr "端口号"
查看占用端口的应用程序名称
tasklist|findstr "PID"
杀死该程序
taskkill /f /pid PID
烦人的占用
查看所有占用的端口
netstat -ano
查看指定的端口
netstat -aon|findstr "端口号"
查看占用端口的应用程序名称
tasklist|findstr "PID"
杀死该程序
taskkill /f /pid PID