【翻译】在win 2000 Server中禁用套接字池

王朝system·作者佚名  2006-01-10
窄屏简体版  字體: |||超大  

Disable socket pooling in Windows 2000 Server

在win 2000 Server中禁用套接字池

by Jim Boyce

作者: Jim Boyce

翻译:purpleendurer

Keywords: Windows 2000 | Internet | Servers | Web servers

关键字:Windows 2000 | Internet | 服务器 | Web服务器

http://techrepublic.com.com/5100-10879_11-5841376.html?tag=nl.e116

Takeaway:

Socket pooling can be unwelcome because it ties up port 80 on all IP addresses on your computer, making it problematic to install another Web server to handle the request on port 80 on another IP. In this Windows 2000 Server tip, Jim Boyce tells you how to disable socket pooling.

概述:

套接字池可能不受欢迎,因为它绑定您的计算机中所有IP地址的80端口,在安装其它Web服务器来处理其他IP地址上的80端口请求时造成问题。在这篇Windows 2000 Server技术中,Jim Boyce告诉您如何禁用套接字池。

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. However, this feature, called socket pooling, can be undesirable because it basically reserves port 80 on all IP addresses on your computer.

如果你有多个IP地址指向你的计算机,并安装IIS,Web服务器将侦听所有IP地址——即使您只使用一个地址。然而,这个名为套接字池的特性可能不受欢迎,因为它基本上保留了你的计算机中所有IP地址的80端口。

Socket pooling can be a problem if you want to install another Web server to handle the request on port 80 on another IP. However, you can disable this behavior with a few steps.

如果你想安装其它Web服务器来处理其他IP地址上的80端口请求时,套接字池可能是个问题。然而,你可以用以下步骤来禁用套接字池。

To disable socket pooling in Windows 2000 Server, follow these steps:

禁用套接字池的步骤如下:

Open a command prompt, and navigate to the \InetPub\AdminScripts folder.

开始--》程序--》附件--》命令提示符,转到\InetPub\AdminScripts文件夹

Type cscript adsutil.vbs set w3svc/disablesocketpooling true. If you have successfully disabled socket pooling, you'll see "disablesocketpooling : (BOOLEAN) True."

输入:

cscript adsutil.vbs set w3svc/disablesocketpooling true

如果你成功地禁用了套接字池,你将看到:“disablesocketpooling : (BOOLEAN) True”

Type net stop iisadmin.

输入:

net stop iisadmin

When prompted whether you want to stop WWW publishing service, answer Yes.

当提示是否想停止WWW publishing服务时,回答Yes。

Type net start iisadmin.

输入:

net start iisadmin

Type net start w3svc.

输入:

net start w3svc

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航