Sometimes it can be useful for WMS to use port 80 to deliver content. For example, if the majority of a content provider's clients are behind a firewall, it can be better to use port 80 for delivery of streaming content, because most firewalls have port 80 opened.
With IIS 6.0, HTTP requests are handled by the Http.sys listener. By default, Http.sys will listen to all requests coming in on port 80 for all IP addresses bound to the computer (except for the loopback address: 127.0.0.1). For WMS to bind to use port 80 for streaming content, you must configure the Http.sys listener so that WMS can listen to the specified IP addresses. If you enable the HTTP Server Control Protocol plug-in without configuring the listener, you may receive the following error:
Error Code: 0xC00D158B
- One (1) network adapter has at least 2 IPs bound to the adapter.
- Two (2) network adapters have at least 1 IP bound to each adapter.
- From a command prompt, type the appropriate command to stop the following services:
- Windows Media Services: net stop wmserver
- Internet Information Services: net stop iisadmin
- Http.sys Listener: net stop http
- Run the WMSHttpSysCfg utility (located at %systemroot%\system32\windows media\server\admin\mmc\WMSHttpSysCfg.exe).
- Add the IP addresses that you want Http.sys to listen to. The addresses that Http.sys does not listen to are available for WMS to use. (If this list is blank, Http.sys listens to all non-loopback IP addresses).
- Click OK to close the dialog box.
- Restart the services that you stopped in step 1 (including, but not limited to):
- Http.sys Listener: net start http
- World Wide Web Publishing Service or IIS Admin: net start w3svc
- Windows Media Services: net start wmserver
- Configure WMS HTTP Server Control Protocol:
- Start WMS Admin MMC.
- Select the server name.
- Click the Properties tab, and then click Control Protocols.
- If it is not already disabled (or if it is In Error), right-click WMS HTTP Server Control Protocol, and then click Disable.
- Right-click WMS HTTP Server Control Protocol, and then click Properties.
- Click Allow selected IP addresses to use this protocol.
- Select the IP addresses that you want to deliver content over port 80.
Note Do not select the same IP addresses as the ones that you added to the Http.sys listener in step 3, otherwise the plug-in might go into an error state when it is enabled.
- Set the plug-in to Use default port (80).
- Click Apply, and then click OK to close the dialog box.
- Right-click WMS HTTP Server Control Protocol, and then click Enable.
Important Other applications might make a configuration utility that can change the Http.sys IP listen list. When you restart the Http.sys service the next time, it can bind to port 80 on an address selected by WMS and might cause the control plug-in to go into an error state.
If you are using Microsoft Windows Server 2003 with Service Pack 1 installed, you can also prevent the Http.sys service from capturing all available IP addresses for port 80 by applying the hotfix that is mentioned in the following Microsoft Knowledge Base article:
For more information about running Windows Media Services v4.1 with IIS 5.0, click the following article number to view the article in the Microsoft Knowledge Base:
Article ID: 328728 - Last Review: Dec 3, 2007 - Revision: 1