Windows

Disable socket pooling in Windows 2000 Server

Occasionally, you might wish to disable socket pooling in order to free up port 80 on your IP addresses. Jim Boyce tells how to disable socket pooling on Windows 2000 Server.

If you have multiple IP addresses assigned to your computer and install IIS, the Web server will bind and listen to all IP addresses even if you use only one address. This feature, called socket pooling, can become unwanted because it basically reserves port 80 on all IP addresses on your computer. Socket pooling can be a problem if you want to install another Windows 2000 Server to handle the request on port 80 on another IP. Fortunately, you can disable this behavior.

Here's how to disable socket pooling:

  1. Open the Command Prompt and go to the \Inetpub\Adminscripts folder.
  2. Type cscript adsutil.vbs set w3svc/disablesocketpooling true. (Note that there are no spaces in w3svc/disablesocketpooling.)If the socket polling has been successfully disabled, you would see disablesocketpooling : (BOOLEAN) True.
  3. Type net stop iisadmin. When prompted whether you want to stop WWW publishing service, answer Yes.
  4. Type net start iisadmin.
  5. Type net start w3svc.

Miss a column?

Check out the Windows 2000 Server archive, and catch up on the most recent editions of Jim Boyce's column.

Want more Win2K tips and tricks? Automatically sign up for our free Windows 2000 Server newsletter, delivered each Tuesday!

0 comments

Editor's Picks