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