When diagnosing connection problems it is useful to refer to the following diagram detailing a typical installation of Microsoft Team Foundation Server and the locations where the different elements are installed.
A Teamprise client should be installed at each client workstation for which it is licensed for use. The Team Foundation Server installation is logically split into an application tier and data tier – however these may be installed on the same machine. The Version Control Proxy server is an optional server component from Microsoft that can improve performance when multiple users are downloading files from version control at a remote office. A version control proxy server should not be confused with a HTTP proxy server. The TeamBuild server and Active Directory server are optional components in your Team Foundation Server installation.
To connect to your Team Foundation Server, you need the following information from your Team Foundation Server administrator:-
When you first attempt to connect to Team Foundation server using either Teamprise Explorer or the Eclipse Plug-in, you will be prompted to enter the above information into a dialog that looks like the following:-
Pressing the "Configure Proxy Settings..." button will allow you to enter the Team Foundation Version Control Proxy server and any Http proxy server to be used for the connection.
If using the Command Line Client, you will need to specify it using the following syntax
tf command /server:http://servername:8080 /login:username@MYDOMAIN,password
You must have HTTP access allowed to the port that Team Foundation Server is running on the application tier (typically 8080).
The connection diagnostics utility is available from the login page in Teamprise Explorer and will also appear if connectivity problems are detected when first importing or sharing a project using the Eclipse plug-in. This will automate many of the checks below, however you may whish to manually carry them out during diagnosis.
If all of the above steps do not help diagnose the problem and you keep getting a "(401) Unauthorized" exception then it is possible that you have encountered a known issue with NTLM authentication. You should ensure that you are on the latest version of Teamprise.
If you are unable to get connected to your TFS server then please contact support.