netstat命令查看端口号


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