Export (0) Print
Expand All

How to: Verify or Correct Port Assignments

By default, Team Foundation Server is configured to use specific network ports and network protocols. Your firewall solution controls remote connections and the usage of these ports. If the port assignments for a Web site have been modified, access to the Web site and Web services might be affected. For a list of web services, network ports, and protocols for Team Foundation, see Team Foundation Server Architecture.

First, you can verify port assignments for Team Foundation websites and web services byopening the administration console for Team Foundation, viewing the Application Tier page, and verifying the URL assignments. If necessary, you can click Change URL to modify the URL of a website. For more information, see Review Server Status and Settings.

Next, you can verify the port assignments for Internet Information Services (IIS) and the ports that are allowed through the firewall if you follow the procedures later in this topic.

If your organization is using a firewall solution other than Windows Firewall, see the documentation for that solution.

NoteNote

Before you make any changes, you should determine why the port bindings for a website were changed. Organizations frequently change the default port assignments to match their infrastructure requirements or security policies.

Required Permissions

To perform these procedures, you must be a member of the Administrators security group on the application-tier server for Team Foundation.

To verify or change the port assignment for a Web site in IIS 6.0

  1. Log on to the application-tier server.

  2. Click Start, point to Administrative Tools, and then point to Internet Information Services (IIS) Manager.

  3. In the tree pane, expand the local computer, and expand Web Sites.

  4. Right-click the Web site whose port bindings you want to verify or correct (for example, Default Web Site), and click Properties.

  5. On the Web Site tab, verify or change the TCP Port value back to its default value or to one set by your organization's security policy.

  6. Click Apply to confirm the change, and then click OK.

To verify or change the port assignment for a Web site in IIS 7.0

  1. Log on to the application-tier server.

  2. Click Start, point to Administrative Tools, right-click Internet Information Services (IIS) Manager, and then click Run as administrator.

  3. In the tree pane, expand the local computer, and expand Web Sites.

  4. Click the Web site whose port bindings you want to verify or correct (for example, Default Web Site).

  5. In the Actions pane, click Bindings.

    The Site Bindings dialog box opens.

  6. Click Edit, and then change the port value to its default assignment.

  7. Click OK to confirm the change, and then click Close.

To verify or change the port assignments for Windows Firewall in Windows Server 2003

  1. Click Start, point to Control Panel, and then click Windows Firewall.

  2. On the Exceptions tab, verify that the check boxes for the programs in the following table are selected:

    Web site

    Port

    Team Foundation Server TFSSharepointApplication:80

    80

    Team Foundation Server TFSSharepointAdmin:17012 or SharePoint Central Administration Service v3

    17012 (if it was installed with Team Foundation Server; otherwise, randomly generated)

    Team Foundation Server TFSWebSite:8080

    8080

  3. Click each Web site, click Edit, and verify that the port number matches the number for the program as listed in the previous table or for your organization.

    NoteNote

    The previous table lists the default ports. If your deployment does not use the default ports, you should verify that the port numbers are appropriate for your deployment.

  4. If the service is not listed, add an exception by performing the following tasks:

    1. Click Add Port.

    2. In the Name box, type the name of the service.

      This text does not have to match the product name. It just needs to be descriptive.

    3. In the Port number box, type the port number.

    4. Be sure that TCP is selected.

    5. Click OK.

  5. Click OK.

  6. Verify that the application pools and Web sites are running. For information about how to verify or restart an application pool or Web site, see Stop and Start Services, Application Pools, and Websites.

To verify or change the port assignments for Windows Firewall in Windows Server 2008

  1. On the Start menu, click Control Panel.

  2. Click Network and Internet.

  3. Click Allow a program through Windows Firewall.

    The Windows Firewall Settings dialog box opens.

  4. On the Exceptions tab, verify that the check boxes for the programs in the following table are selected:

    Web site

    Port

    Team Foundation Server TFSSharepointApplication:80

    80

    Team Foundation Server TFSWebSite:8080

    8080

    Team Foundation Server TFSSharepointAdmin:17012

    17012 (if it was installed with Team Foundation Server; otherwise, randomly generated)

  5. Click each Web site, click Properties, and verify that the port number matches the number for the program listed in the previous table.

    NoteNote

    The previous table lists the default ports. If your deployment does not use the default ports, you should verify that the port numbers are appropriate for your deployment.

  6. If the program is not listed, add an exception by performing the following tasks:

    1. Click Add Port.

    2. In the Name box, type the name of the program.

      This text does not have to match the product name. The text just needs to be descriptive.

    3. In the Port number box, type the port number.

    4. Be sure that the TCP is selected.

    5. Click OK.

  7. Click OK.

  8. Verify that the application pools and Web sites are running. For information about how to verify or restart an application pool or Web site, see Stop and Start Services, Application Pools, and Websites.

Community Additions

Show:
© 2014 Microsoft