tags:

views:

34

answers:

3

Windows can share ports. For example IIS and WinRM share port 80. Is there any way to query this information?

A: 

Yes. Exacly nmap program can examinate what application listen on what port, he have rules definition for each application and this program checks who program rule is working on this port (by sending, receiving data and analyze this).

Svisstack
A: 

netstat -ab

I'm not aware of a programmatic way (and you did not specify a programming language

mhaller
A: 

netsh does the job

netsh http show servicestate verbose=no

This will list all endpoints registerd in httpsys, all entries that starts from is actually sharing port 80.

Mike Chaliy