现在的位置: 首页 > 综合 > 正文

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

2013年08月03日 ⁄ 综合 ⁄ 共 1814字 ⁄ 字号 评论关闭

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:

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

  1. Open a command prompt, and navigate to the /InetPub/AdminScripts folder.
    开始--》程序--》附件--》命令提示符,转到/InetPub/AdminScripts文件夹
  2. 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”
  3. Type net stop iisadmin.
    输入:
    net stop iisadmin
  4. When prompted whether you want to stop WWW publishing service, answer Yes.
    当提示是否想停止WWW publishing服务时,回答Yes。
  5. Type net start iisadmin.
    输入:
    net start iisadmin
  6. Type net start w3svc.
    输入:
    net start w3svc

抱歉!评论已关闭.