We were having around 10-12 win services which are using ports to communicate with each other. we always need to see which ports are currently in use. I am using this command to see it on command prompt.
NETSTAT
Just wanted to keep it here so I won’t forget when I need it.
Update: use this tool to view open ports
TCP view for windows
http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx