大网数据广告活动
Web服务器与PHP

IP Listen List

· 52CE 我爱测

The HTTP Server APIs do not bind to any IP address and TCP port pairs until a user registers a UrlPrefix.

The HTTP Server APIs do not bind to any IP address and TCP port pairs until a user registers a UrlPrefix. By default, once a registration is entered in the request queue, the HTTP Server API binds to the port specified in the UrlPrefix (for example port 80) for all IP addresses (INADDR_ANY or INADDR6_ANY) available on the machine. Problems arise when third party applications (not using the HTTP Server APIs) bind to IP address and port 80 pairs on the machine. The HTTP Server API provides a way to configure the list of IP addresses that it binds and solves this coexistence issue. The system administrator calls the HttpSetServiceConfiguration function with the ConfigId parameter set to the HttpServiceConfigIPListenList value to specify the IP listen list. Both IPv4 and IPv6 addresses can be added to the list. The IP addresses entered apply to all applications on the machine using the HTTP Server API and persist across reboots of the machine. However, any changes to the IP listen list configuration do not take place dynamically; in most cases, a system reboot may be necessary.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。