Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How to change the Default Web Site port on a Team Foundation Server 2008 Application Tier Machine


View products that this article applies to.

Source: Microsoft Support

↑ Back to the top


Rapid publishing

RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.

↑ Back to the top


Symptoms

You have installed Team Foundation Server 2008, SQL Server 2008, and Windows SharePoint Services 3.0 on a PC running Windows Server 2008. You want to change the port of the "Default Web Site" to something other than 80.

↑ Back to the top


Resolution



For the sake of this walkthrough we will change the Default Web Site port to 8081 and we will refer to the Team Foundation Server (TFS) machine as "TFS08ATDT". Also note that this walkthrough assumes a standard, simple install of TFS and that the server is running the following software:
  • Windows Server 2008 with IIS7
  • Windows SharePoint Services 3.0 SP1
  • Team Foundation Server 2008 SP1
  • SQL Server�and SQL Server Reporting Services 2008


1. Using IIS Administrator, change the Default Web Site port to 8081
��� a. Open Start>Administrative Tools>Internet Information Services (IIS) Manager.
��� b. In the Connections tree expand the computer and then Sites. Click on the Default Web Site.
��� c. In the Actions pane click "Bindings..."
��� d. Click the binding and then "Edit...".
����e. Change the port to 8081,�OK your way back out to the IIS Administrator and then close it.

2. Open Start>Administrative Tools>SharePoint 3.0 Central Administration. Click "Operations", then "Alternate access mappings" in the "Global Configuration" section. Change the "Internet URL" for the Default Web Site (HTTP://TFS08ATDT) to the new URL + ":8081" (HTTP://TFS08ATDT:8081). Navigate to that URL in a web browser�to make sure it comes up correctly.

3. Run�TFSAdminUtil ConfigureConnections to update TFS with the new port information:
��� a. Open a command prompt and CD to the "Tools" subdirectory under the TFS install location (usually C:\Program Files\Microsoft Visual Studio 2008 Team Foundation Server).
��� b. Run this command:

TFSADMINUTIL ConfigureConnections /SharepointSitesUri:http://TFS08ATDT:8081/Sites /SharepointUri:http://TFS08ATDT:8081 /ReportServerURI:http://TFS08ATDT:8081/ReportServer/ReportService.asmx /ReportsUri:http://TFS08ATDT:8081/Reports

4. Run C:\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\TfsConfigWss.exe and fill in the required information using the same values from step 3:

��� Windows SharePoint Services site = http://TFS08ATDT:8081/Sites
��� Reporting Services reports site = http://TFS08ATDT:8081/Reports
��� Reporting Services administrative site = http://TFS08ATDT:8081/ReportServer/ReportService.asmx

5. Open Start>All Programs>Microsoft SQL Server 2008>Configuration Tools>Reporting Services Configuration Manager.
6. On "Web Service URL", change TCP Port to 8081.
7. On "Report Manager URL", click "Advanced" and edit the port, changing it to 8081.
8. If it is enabled,�ensure the Windows Firewall on Windows Server 2008 has the "TFS Portal" exception set to the new default web site port.
9. Clear the client cache on machines using Team Explorer to connect to the server by deleting the "2.0" subdirectory under C:\Users\<user>\AppData\Local\Microsoft\Team Foundation (Windows Vista\Windows Server 2008) or C:\Documents and Settings\<user>\AppData\Local\Microsoft\Team Foundation (Windows XP/Windows Server 2003).

You default web site will now be on port 8081.

NOTE: If you are using SQL Server Reporting Services 2008 with TFS 2008 SP1, be sure to update your Team Explorer version to 2008 SP1 as well. Failure to do so could result in a RedX on the Reports node inside Team Explorer.

↑ Back to the top


Disclaimer

MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE �MATERIALS�) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.

↑ Back to the top


Keywords: KB959375, kbrapidpub, kbnomt

↑ Back to the top

Article Info
Article ID : 959375
Revision : 1
Created on : 10/28/2008
Published on : 10/28/2008
Exists online : False
Views : 484