netstat 是控制台命令,它可以显示路由表.实际的网络连接以及每一个网络接口设备的状态信息.Netstat 用于显示与 IP . TCP . UDP 和 ICMP 协议相关的统计数据,一般用于检验本机各端口的网络连接情况. # netstat 常见参数 -a (all) 显示所有选项,默认不显示 LISTEN 相关 -t (tcp) 仅显示 tcp 相关选项 -u (udp) 仅显示 udp 相关选项 -n 拒绝显示别名,能显示数字的全部转化成数字 -l 仅列出有在 Listen (监听)…