The IP Listen List
IP Listen List is the list of IP addresses that Windows HTTP Server API binds. By default, the HTTP Server API binds to all IP addresses (INADDR_ANY
/0.0.0.0
or INADDR6_ANY
/::
). The HTTP Server API is used by applications such as IIS.
Configure IP Listen List
HttpCfg.exe |
Netsh.exe |
|
---|---|---|
(Command Availability) | Windows Server 2003 | Windows Vista + / Windows Server 2008 + |
add | httpcfg set iplisten -i IP |
netsh http add iplisten IP |
query/show | httpcfg query iplisten -i IP |
netsh http show iplisten IP |
delete | httpcfg delete iplisten -i IP |
netsh http delete iplisten IP |
Note: Changes made via HttpCfg.exe
of Netsh.exe
are loaded automatically.
Configuration Store
Configuration for HTTP Server API is stored in registry at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters
.
And configuration for IP Listen List is stored in Multi-String Value ListenOnlyList.
Note: Changes made via registry are loaded after machine reboot or HTTP service restart.