To get started, type "netstat -a" in Command Prompt. The list of your active TCP connections will be populated with the port numbers.