netstat命令查看端口号
企业开发
2018-06-02 11:30:56
阅读次数: 0
netstat -ano
- You will get a report of Active Connections
- Report includes: Protocol, Local Address, Foreign Address, State, PID
- Write down the PID (process identifier) associated with port 5228/tcp (Also note the Local Address, Foreign Address, Protocol and State.)
- Next, start the Windows Task Manager
- Select the Processes tab in Task Manager
- Search for the PID you wrote down previously
- netstat parameter -s displays per-protocol statistics. By default, statistics are shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6
转载自mysuperbaby.iteye.com/blog/902572