How can a WCF service listen the same port as IIS?

HTTP.sys makes this possible. From the article:

…because WCF and IIS 6.0 both use the kernel-mode HTTP stack (HTTP.sys), IIS 6.0 can share port 80 with other self-hosted WCF services running on the same machine…

HTTP.sys acts as a port-forwarding service, for HTTP (port 80) traffic.

Leave a Comment