How to share port 443 and other with IIS

By default IIS bind on (IPv4) and :: (IPv6), this is because IIS do Socket Pooling.

To force IIS on a specific IP address, you need specify an IP address to listen on with netsh to modify http.sys which IIS rely on.


netsh http add iplisten ipaddress=x.x.x.x


netsh http add iplisten ipaddress=::x


netstat -nao | findstr :443
TCP    X.x.X.1:443              LISTENING       3956
TCP    X.x.X.2:443              LISTENING       4