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 sites for Team Foundation, see Resolving Problems Accessing Web Services.
You can verify or correct port-binding assignments made to Team Foundation Web sites and verify or correct port assignments made to Team Foundation services. For information about the default network port and protocol assignments, see Team Foundation Server Security Architecture.
If your organization is using a firewall solution other than Windows Firewall, see the documentation for that solution.
Note
Before you make any changes, you should determine why the port bindings for a Web site 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
Log on to the application-tier server.
Click Start, point to Administrative Tools, and then point to Internet Information Services (IIS) Manager.
In the tree pane, expand the local computer, and expand Web Sites.
Right-click the Web site whose port bindings you want to verify or correct (for example, Default Web Site), and click Properties.
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.
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
Log on to the application-tier server.
Click Start, point to Administrative Tools, right-click Internet Information Services (IIS) Manager, and then click Run as administrator.
In the tree pane, expand the local computer, and expand Web Sites.
Click the Web site whose port bindings you want to verify or correct (for example, Default Web Site).
In the Actions pane, click Bindings.
The Site Bindings dialog box opens.
Click Edit, and then change the port value to its default assignment.
Click OK to confirm the change, and then click Close.
To verify or change the port assignments for Windows Firewall in Windows Server 2003
Click Start, point to Control Panel, and then click Windows Firewall.
On the Exceptions tab, verify that the check boxes for the programs in the following table are selected:
Web site
Port
Default Web Site
80
SharePoint Central Administration Service v3
17012 (if it was installed with Team Foundation Server; otherwise, randomly generated)
Team Foundation Server
8080
Team System Web Access
5012
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.
Note
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.
If the service is not listed, add an exception by performing the following tasks:
Click Add Port.
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.
In the Port number box, type the port number.
Be sure that TCP is selected.
Click OK.
Click OK.
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 How to: Verify or Correct the IIS Configuration for an Application Pool.
To verify or change the port assignments for Windows Firewall in Windows Server 2008
On the Start menu, click Control Panel.
Click Network and Internet.
Click Allow a program through Windows Firewall.
The Windows Firewall Settings dialog box opens.
On the Exceptions tab, verify that the check boxes for the programs in the following table are selected:
Web site
Port
TFS Portal
80
TFS WEB Services
8080
Team System Web Access
5012
WSS Administration
17012 (if it was installed with Team Foundation Server; otherwise, randomly generated)
Click each Web site, click Properties, and verify that the port number matches the number for the program listed in the previous table.
Note
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.
If the program is not listed, add an exception by performing the following tasks:
Click Add Port.
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.
In the Port number box, type the port number.
Be sure that the TCP is selected.
Click OK.
Click OK.
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 How to: Verify or Correct the IIS Configuration for an Application Pool.
See Also
Tasks
How to: Verify or Correct Server Binding Assignments
Resolving Problems Accessing Web Services
Resolving Problems Connecting to the Application-Tier Server
Concepts
Team Foundation Server Security Architecture