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.