标签:gre lin 通用 window linu 推荐 服务 str tcp、udp
查看所有端口(tcp、udp)
netstat -an
windows通用命令
netstat -an
查端口是否被使用
netstat -an | findstr 8000
netstat -an | grep :
Linux中,强烈推荐,同时查看端口和服务名称
只查看tcp端口 :netstat -lntp
只查看udp端口:netstat -lnup
标签:gre lin 通用 window linu 推荐 服务 str tcp、udp
原文地址:https://www.cnblogs.com/andy9468/p/8952889.html