查看所有端口:netstat –ano 查看一个端口 netstat –ano|findstr “<端口号>”,最后一列为PID 查看该PID对应的进程名称。 tasklist|findstr “<PID号>”