Article ID: 149605 - View products that this article applies to.
This article was previously published under Q149605
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:
http://www.microsoft.com/technet/security/prodtech/IIS.mspx
For more information about IIS 7.0, visit the following Microsoft Web site:
http://www.iis.net/default.aspx?tabid=1
Expand all | Collapse all

On This Page

SUMMARY

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.

MORE INFORMATION

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

  1. Start Regedt32.exe and locate the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ServiceProvider\ServiceType\W3SVC
  2. Find the TCP Port value and double-click it.
  3. 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
  4. Exit Regedt32.exe.
  5. Stop and Restart the IIS Services by Using the Internet Service Manager.

Microsoft Internet Information Server version 3.0

  1. Open Internet Service Manager.
  2. Double-click on the computer corresponding to the WWW service.
  3. On the Service tab, change the TCP Port field to the desired port number.
  4. Click OK.
  5. Using the Internet Service Manager, stop and restart the IIS Services.

Microsoft Internet Information Services versions 4.0 to 6.0

  1. Open Internet Service Manager or Internet Information Services (IIS) Manager.
  2. If necessary, expand the Web server that you want, and then expand Web Sites.
  3. Right-click the Web site that you want to change.
  4. Click Properties.
  5. Click the Web Site tab.
  6. Change the TCP Port Number in the TCP Port edit box (or click Advanced for multiple Port settings).
  7. Click OK to save the changes.

Microsoft Internet Information Services 7.0

  1. Open Internet Information Services (IIS) Manager.
  2. Select the Web site that you wish to configure.
  3. In the Action pane, click Bindings.
  4. Click Add to add a new site binding, or click Edit to change an existing binding.
  5. Click OK to apply the changes.

Properties

Article ID: 149605 - Last Review: July 7, 2008 - Revision: 5.1
APPLIES TO
  • Microsoft Internet Information Server 1.0
  • Microsoft Internet Information Server 2.0
  • Microsoft Internet Information Server 3.0
  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Services 5.0
  • Microsoft Internet Information Services 6.0
  • Microsoft Internet Information Services 7.0
Keywords: 
KB149605

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com