//进入 c:WINDOWSsystem32 目录
cd c:WINDOWSsystem32
// 键入命令
netstat -ano
// 查看指定端口占用情况
netstat -aon|findstr "9050"