Windows下查看机器监听端口

1、查看所有端口占用情况

     在开始-运行-cmd,输入:netstat –ano可以查看所有进程

2、查看指定端口的占用情况

     netstat -an |findstr :21 
原文地址:https://www.cnblogs.com/mingjia/p/4530781.html