This is a useful tip while tracing TCP connection problems.
To list all network port numbers in use, use the following command
C:\>netstat –ano Active Connections Proto Local Address Foreign Address State PID |
To find out port numbers which is in “Listening” status, use the following command
C:\netstat –ano | find /i “listening” TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 872 |
To find out the service name behind the PID, use the following command
C:\>tasklist /FI “PID eq 8504” Image Name PID Session Name Session# Mem Usage |
沒有留言:
張貼留言