1. Click "Start → Run" in turn, enter "cmd" and press enter to open the command prompt window.
2. Type "netstat -a -n" at the command prompt, and then press Enter to view the port number and status of TCP and UDP connections displayed in digital form.