Command line for looking at specific port
In cmd:
netstat -na | find "8080"
In bash:
netstat -na | grep "8080"
In PowerShell:
netstat -na | Select-String "8080"
計算出 80 埠連線數並且連線狀態是 ESTABLISHED 的數量
netstat -ant | find ":80" | find /c "ESTABLISHED"
列出主機中有提供服務連線的 Port,不區分大小寫
netstat -ant | find / i "listening" | find /v "0.0.0.0:0"
過濾掉 UDP
netstat -ant | find ":80" | find /v "UDP"
留言
張貼留言