Cannot connect to TFS: TF31002 and TF30331

Symptom: Cannot connect to TFS and the following error messages appear:

TF31002: Unable to connect to this Team Foundation Server: http://tfs.global.yourServer.name:8080/tfs.
Team Foundation Server Url: http://tfs.global.yourServer.name:8080/tfs.

Possible reasons for failure include:
– The name, port number, or protocol for the Team Foundation Server is incorrect.
– The Team Foundation Server is offline.
– The password has expired or is incorrect.

Technical information (for administrator):
The remote server returned an error: (503) Server Unavailable.

OR

TF30331: Team Explorer could not connect to the Team Foundation server http://tfs.global.yourServer.name:8080/tfs used during your last session. The server may be offline or the network is unavailable. Contact your Team Foundation Server administrator to confirm that the server is available on the network. Use the Connect to Team Foundation Server command on the Tools menu to reconnect to your previous server.

The server returned the following error: The request failed with HTTP status 503: Service Unavailable.

Cause and solution:

One thing that could cause these errors is the proxy setting on the client machine. Remember that the proxy setting that you set in IE will apply to the whole machine, and will affect other apps on that machine. As far as I know, some additional configurations are needed to get TFS to work with a proxy.

If you are getting the above errors, it is worthwile try turning off the proxy on your machine to see if that’d work and hence isolate the problem. To turn off proxy, go to IE, then Internet Options, then Connections tab, then LAN settings, then clear the “Use a proxy server checkbox“, also try clearing the “Automatically detect settings” checkbox.

Advertisements

About Bernado

Based in Australia, I am a freelance SharePoint and Dynamics CRM developer. I love developing innovative solutions that address business and everyday problems. Feel free to contact me if you think I can help you with your SharePoint or CRM implementation.
This entry was posted in TFS. Bookmark the permalink.

4 Responses to Cannot connect to TFS: TF31002 and TF30331

  1. Tim says:

    sweet baby jesus! you saved my day with the turning-off-proxy suggestion. thanks!

  2. Rahul says:

    Thanks Bernado,

    You really saved me… I was struggling on this from the morning itself.
    At first I thought I mistyped the server name, then I thought of network permissions too..
    Thanks.

  3. YHoang says:

    i have spent one day for this problem but no solution until i see your post. Many thanks 10000000 points for you.

  4. Shirish says:

    Hurrey….. its working. Thanks a ton.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s