开发者

How to query who shares port 80 on Windows?

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


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.


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).


netstat -ab

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜