How to share port 443 and other with IIS

By default IIS bind on 0.0.0.0 (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.

IPv4

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

IPv6

netsh http add iplisten ipaddress=::x

Result

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

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.