Open a command prompt and type
Netstat -ano
This command outputs a list of all listening ports, associated process IDs, and the port number
Now run
tasklist /svc
This will give you the service name that maps to a particular PID
Jul 13.
Further to above, a "new" option, -b, is available in netstat command after Windows 2003 SP1. This will show you what image occupies which port.