Tuesday, October 8, 2013

How to configure IIS to run in different port than 80

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.
Read More on windows IIS Web Page 

No comments:

Post a Comment