The Windows Media server components and Microsoft Internet Information Services (IIS) can coexist on a computer when you use their default values as follows:
The Windows Media Unicast service binds to port 1755.
The Windows Media Station service binds to port 7007.
IIS binds to port 80.
To stream content through HTTP, the Windows Media Unicast or Windows Media Station service must have an IP address available on port 80. To do this, you must configure IIS so that is does not automatically bind to port 80 on all IP addresses. With IIS version 4.0 or later, you can specify an IP address that IIS can use when it binds to port 80 to serve HTTP streams. The Windows Media Unicast or Windows Media Station service can then use another available IP address to stream ASF content through HTTP. To enable HTTP streaming for the Windows Media Unicast or Windows Media Station service, Web sites running under IIS 4.0 or later cannot be configured to use all unassigned IP addresses.
To use HTTP streaming when the Windows Media server components and IIS 5.0 are installed on the same computer, at least two IP addresses bound to your network card are required.
- Assign an IP address to a Microsoft Internet Information Services (IIS) Web site by performing the following steps:
- In the IIS Microsoft Management Console (MMC), select the Windows Media server computer.
- Right-click Default Web Site, and then click Properties.
- In the Default Web Site Properties dialog box, click the Web Site tab.
- On the Web Site tab, in the IP Address dialog box, select the IP address that you want this Web site to use.
- Repeat steps 2 through 4 for any additional Web sites that you run under IIS, including the administration Web site.
- Disable socket pooling for the IIS Web site:
- At the command prompt, type cd \inetpub\adminscripts.
- At the \Inetpub\AdminScripts command prompt, type
cscript adsutil.vbs set w3svc/disablesocketpooling true .
The command prompt returns the following:
disablesocketpooling : (BOOLEAN) TRUE
- Enable HTTP streaming for the Windows Media server components:
- In the Windows Media Administrator menu frame, click Server Properties.
- On the Server Properties page, click the HTTP Streaming and Distribution tab.
- On the HTTP Streaming and Distribution tab, select Enable HTTP distribution for either the Unicast or Station service (depending on your streaming configuration), and then click Apply.
NOTE: At this point, you are instructed to reboot the server for these changes to take effect. You will do this later.
- Edit the registry to make the Windows Media component services depend on the World Wide Web Publishing Service:WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may
require you to reinstall your operating system. Microsoft cannot guarantee that you can solve
problems that result from using Registry Editor incorrectly. Use Registry Editor at your own
- Start Registry Editor (Regedt32.exe).
NOTE: It is important that you use Regedt32.exe and not Regedit.exe.
- Click to highlight the DependOnService value under the following key in the registry:
- On the Edit menu, click Multi String..., type W3SVC at the end of the list of services, and then click OK.
- Quit Registry Editor.
- Restart your server.