We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:
It is possible to change the port that Internet Information Server (IIS) services will listen to. This can be useful when you try to run multiple web servers on the same computer.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
Microsoft Internet Information Server versions 1.0 to 2.0
- Start Regedt32.exe and locate the following registry subkey:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ServiceProvider\ServiceType\W3SVC
- Find the TCP Port value and double-click it.
- The DWORD Editor dialog box should appear with the default value (0x50 Hex; 80 Decimal) listed. Change the decimal value to the number of the port that you want the World Wide Web Publishing Service to listen to.
NOTE: You can also follow steps 2 and 3 to change the following services:
- MSFTPSVC: FTP Publishing Service
- GOPHERSVC: Gopher Publishing Service
- Exit Regedt32.exe.
- Stop and Restart the IIS Services by Using the Internet Service Manager.
Microsoft Internet Information Server version 3.0
- Open Internet Service Manager.
- Double-click on the computer corresponding to the WWW service.
- On the Service tab, change the TCP Port field to the desired port number.
- Click OK.
- Using the Internet Service Manager, stop and restart the IIS Services.
Microsoft Internet Information Services versions 4.0 to 6.0
- Open Internet Service Manager or Internet Information Services (IIS) Manager.
- If necessary, expand the Web server that you want, and then expand Web Sites.
- Right-click the Web site that you want to change.
- Click Properties.
- Click the Web Site tab.
- Change the TCP Port Number in the TCP Port edit box (or click Advanced for multiple Port settings).
- Click OK to save the changes.
Microsoft Internet Information Services 7.0
- Open Internet Information Services (IIS) Manager.
- Select the Web site that you wish to configure.
- In the Action pane, click Bindings.
- Click Add to add a new site binding, or click Edit to change an existing binding.
- Click OK to apply the changes.