netstat -ano 查看所有端口情况 netstat -ano|findstr " " 查看该端口信息 最后一串数字为PID(进程标示符) tasklist|findstr " " 查看占用PID的进程、程序