【翻譯】在win 2000 Server中禁用通訊端池

來源:互聯網
上載者:User
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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.