Display protocol statistics and current TCPIP network connections03/02/2011
If you install new services on Windows box, it is sometime useful to verify the services are running and listening to incoming connections on specific ports. There is a useful command-line utility which can show you statistics on your TCP/IP connections.
To show TCP ports the server is listening on, open command window, and type:
netstat -anop TCP
For UDP, use:
netstat -anop UDP