Ports Required for Installation of Team Foundation Server

Visual Studio Team Foundation Server 2012 v4

Your firewall controls remote connections, and Team Foundation Server requires remote connections. You must ensure that your firewall does not block the connections Team Foundation Server requires. The tables in this topic show the default settings for TCP ports that Team Foundation Server, SQL Server, and SharePoint Products require.

Firewalls

If you are using Windows Firewall and it is configured to allow exceptions, the installation wizard for Team Foundation Server creates firewall exceptions for the components that you install, such as SharePoint Foundation 2010. If Windows Firewall is configured not to allow exceptions, you should configure it to allow exceptions during the installation of Team Foundation Server. Otherwise, you must manually create exceptions. For more information, see this page on the Microsoft website: How to Configure Windows Firewall on a Single Computer.

If you are using a software or hardware firewall from another company, you should check its documentation to determine how to open the TCP ports that installation requires.

Required Ports for SQL Server

The following table specifies the TCP ports that SQL Server (Standard or Enterprise Edition) requires.

Server or Application Context

TCP Port

SQL Service (Database Engine)

14331

SQL Browser Service (Database Engine)

1434

SQL Server Analysis Services Redirector 

2382

SQL Server Analysis Services

2383

SQL Server Reporting Services

80

1SQL Server uses port 1433 for the default instance. For named instances, SQL Server uses a dynamic port that the operating system assigns. Use SQL Server Configuration Manger to determine the SQL Server port number for any named instances. For more information, see this page on the Microsoft website: Configuring the Windows Firewall to Allow SQL Server Access.

Report Server Port Requirements

You must ensure that the report server contains an exception in Windows Firewall for Windows Management Instrumentation (WMI) if the report server is not on the server that is running Team Foundation Server. The instructions for completing this task differ based on the operating system that you are using. If you are using Windows Server 2003 or Windows Server 2003 R2, see the following page on the Microsoft website: Connecting Through Windows Firewall. If you are using Windows Server 2008, Windows Server 2008 R2, Windows Vista or Windows 7, see the following page on the Microsoft website: Connecting to WMI Remotely Starting with Windows Vista.

Required Ports for SharePoint Products

The table in this section specifies the TCP ports that SharePoint Foundation 2010 uses if it is installed by the installation wizard for Team Foundation Server. 

These port numbers might be different for existing deployments of SharePoint Products. You can determine which port numbers SharePoint Products uses by opening Internet Information Services (IIS) Manager and looking at the properties of the websites. For more information, see Verify SharePoint Products for Team Foundation Server.

Server or Application Context

TCP Port

Default website

80

SharePoint Central Administration

17012

Required Ports for Team Foundation Server

By default, Team Foundation Server uses the following TCP ports:

Server or Application Context

TCP Port

Team Foundation Server

8080

Team Foundation Server Proxy

8081

See Also