C:\>
netstat
Utility
Displays all active TCP connections, in the format: Proto, Local Address, Foreign Address, State.
Proto
denotes the name of the protocol (TCP / UDP).
Local Address
is the IP address of local computer and the port number being used.
Foreign Address
is the IP address and port number of the remote computer to which the socket is connected.
State
indicates the state of a TCP connection like
ESTABLISHED
,
CLOSE_WAIT
,
CLOSED
,
LISTEN
,
TIMED_WAIT
, etc.
Usage