一、查看Windows目前所有使用端口
netstat -ano
二、查看指定的端口
netstat -ano|findstr 3389
三、使用tasklist命令查看指定PID对应的进程名
tasklist |findstr 283664