Home » Computers » Networking » IIS port (socket) pooling

IIS port (socket) pooling

 

To add an IP address to the IP inclusion list

  1. Click Start, and then click Run.
  2. Type cmd, and then click OK to open a command prompt.
  3. Type the following, where xxx.xxx.x.x is the IP address you want to add:

httpcfg set iplisten -i xxx.xxx.x.x

When this succeeds, Httpcfg returns the following:

HttpSetServiceConfiguration completed with 0
To view additional status codes, see the Httpcfg help.

  1. After the IP address is added, use the following command to list it:

httpcfg query iplisten

Httpcfg returns the following:

IP :xxx.xxx.x.x

  1. From the command prompt, stop the HTTP service and its dependent services. To do this, type the following string at the command prompt:

net stop http /y

  1. From the command prompt, restart the HTTP service and it dependent services. To do this, type the following string at the command prompt:

net start w3svc

Note When you start w3svc, all services that were stopped when HTTP was stopped will start.

 


Leave a comment