We are planning to implement a bolt-on called Kewill Flagship for advanced shipping solution in one of our instances. Kewill Flagship works on Windows platform. One of the questions asked by security was the ports which are opened by this application. I came across this link: http://www.petri.co.il/quickly_find_local_open_ports.htm
This is a cool command to find out the open ports on a windows box immediately:
C:\WINDOWS>netstat -an | find /i "listening"
Go through the above link to find more details.