查看端口占用、解决
- 命令
netstat -ano可查看所有端口使用情况 - 执行
netstat -ano|findstr "xxxx"输入对应的端口 - 找到对应的pid并执行
tasklist|findstr "yyyy"输入对应的pid - 结束其进程解除占用
taskkill /f /pid "yyyy"
netstat -ano 可查看所有端口使用情况netstat -ano|findstr "xxxx" 输入对应的端口tasklist|findstr "yyyy" 输入对应的pidtaskkill /f /pid "yyyy"