Find out what ports your Windows box is listening on

One of the easiest ways to see what ports a windows system is listening on is to use netstat.
To get a comprehensive list open a command prompt

 netstat -an

Active Connections
Proto  Local Address Foreign Address State
TCP    0.0.0.0:135            0.0.0.0:0              LISTENING
TCP    0.0.0.0:445            0.0.0.0:0              LISTENING
TCP    0.0.0.0:1494           0.0.0.0:0              LISTENING
TCP    0.0.0.0:2598           0.0.0.0:0              LISTENING
TCP    0.0.0.0:3389           0.0.0.0:0              LISTENING
TCP    0.0.0.0:8080           0.0.0.0:0              LISTENING
TCP    0.0.0.0:8081           0.0.0.0:0              LISTENING
TCP    127.0.0.1:1494         127.0.0.1:1585         ESTABLISHED
TCP    127.0.0.1:1571         0.0.0.0:0              LISTENING
TCP    127.0.0.1:1585         127.0.0.1:1494         ESTABLISHED
TCP    127.0.0.1:5152         0.0.0.0:0              LISTENING
UDP    0.0.0.0:161            *:*
UDP    0.0.0.0:445            *:*
UDP    0.0.0.0:500            *:*
UDP    0.0.0.0:1563           *:*
UDP    0.0.0.0:4500           *:*
UDP    0.0.0.0:8081           *:*
UDP    0.0.0.0:8082           *:*
UDP    127.0.0.1:123          *:*
UDP    127.0.0.1:1025         *:*
UDP    127.0.0.1:1041         *:*
UDP    127.0.0.1:1057         *:*
UDP    127.0.0.1:1587         *:*
UDP    127.0.0.1:1588         *:*
UDP    127.0.0.1:3867         *:*
UDP    127.0.0.1:4450         *:*

 

By filetring the results

 netstat -an | find "LIST"
TCP    0.0.0.0:135            0.0.0.0:0              LISTENING
TCP    0.0.0.0:445            0.0.0.0:0              LISTENING
TCP    0.0.0.0:1494           0.0.0.0:0              LISTENING
TCP    0.0.0.0:2598           0.0.0.0:0              LISTENING
TCP    0.0.0.0:3389           0.0.0.0:0              LISTENING
TCP    0.0.0.0:8080           0.0.0.0:0              LISTENING
TCP    0.0.0.0:8081           0.0.0.0:0              LISTENING
TCP    127.0.0.1:1571         0.0.0.0:0              LISTENING
TCP    127.0.0.1:5152         0.0.0.0:0              LISTENING