{"id":652,"date":"2019-08-12T14:21:51","date_gmt":"2019-08-12T14:21:51","guid":{"rendered":"http:\/\/172.23.1.43\/?p=652"},"modified":"2022-06-07T22:25:59","modified_gmt":"2022-06-07T22:25:59","slug":"how-to-share-port-443-and-other-with-iis","status":"publish","type":"post","link":"https:\/\/blog.n-dol.org\/2019\/08\/12\/how-to-share-port-443-and-other-with-iis\/","title":{"rendered":"How to share port 443 and other with IIS"},"content":{"rendered":"\n
By default IIS bind on 0.0.0.0 (IPv4) and :: (IPv6), this is because IIS do Socket Pooling.<\/p>\n\n\n\n
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.<\/p>\n\n\n\n
IPv4<\/p>\n\n\n\n
netsh http add iplisten ipaddress=x.x.x.x<\/code><\/pre>\n\n\n\nIPv6<\/p>\n\n\n\n
netsh http add iplisten ipaddress=::x<\/code><\/pre>\n\n\n\nResult<\/p>\n\n\n\n
netstat -nao | findstr :443<\/code><\/pre>\n\n\n\nTCP X.x.X.1:443 0.0.0.0:0 LISTENING 3956\nTCP X.x.X.2:443 0.0.0.0:0 LISTENING 4<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"By default IIS bind on 0.0.0.0 (IPv4) and :: (IPv6), this is because IIS do Socket Pooling. To force IIS…<\/p>\n","protected":false},"author":5614970,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[672890866,637],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/posts\/652"}],"collection":[{"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/users\/5614970"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/comments?post=652"}],"version-history":[{"count":14,"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/posts\/652\/revisions"}],"predecessor-version":[{"id":818,"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/posts\/652\/revisions\/818"}],"wp:attachment":[{"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/media?parent=652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/categories?post=652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/tags?post=652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}