Microsoft Knowledge Base Email Alertz

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

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 959375 - Last Review: October 28, 2008 - Revision: 1.0

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

Source: Microsoft Support

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.

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.

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 (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.

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.

APPLIES TO
  • Microsoft Visual Studio Team System 2008 Team Foundation Server
  • Windows Server 2008 Standard
  • Microsoft Windows SharePoint Services 3.0 Service Pack 1
  • Microsoft SQL Server 2008 Standard
Keywords: 
kbnomt kbrapidpub KB959375
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please