After using Team Foundation Server (TFS) for years, we suddenly lost the ability to connect either through Visual Studio (VS) or via URL. To the best of my knowledge, no changes were made to the virtual server that supports TFS.
In VS the error is:
TF400324: TF services are not available from server... Unable to connect to the remote server...
If I use the {server}:8080/tfs or localhost:8080/tfs url in a browser it tells me the connection was refused.
In the SQL Management Studio both the Tfs_Configuration and Tfs_DefaultCollection databases appear to be connected, and show a "Ready" status. In the TFS Administration Console the DefaultCollection state is "Online".
Perhaps the best clue is that if I use netstat to see which ports are in use on the server, port 8080 is not listed at all. Is there a listener service that needs to be started?
I see that the following services are currently disabled: UPnP Device Host, SSDP Discovery, Internet Connection Sharing, SSDP Discovery, Internet Connection Sharing, Smart Card, Routing and Remote Access, Net.Tcp Port Sharing Service, and Computer Browser.
Of course, we have tried a reboot to no avail.
Any troubleshooting suggestions will be much appreciated, as this has begun to impact our productivity. Thanks in advance!
Edition: TFS 2015
Version: 14.114.28805.0 (Update 4.2)
Update: I should mention that the firewall has been disabled in attempting to diagnose the issue.
Also, there are errors associated with TFS in the Even Viewer, but they are not at all clear. Here are is a snippet:
VssRequestContext.HostManagement.Microsoft.TeamFoundation.JobService.Extensions.Core.IdentitySyncJobExtension.Run:1 Registry.TeamFoundationRegistryService.Write:1 Default.SqlResourceComponent.Execute prc_UpdateRegistry ds:LT-TFS2 db:Tfs_Configuration:2 Default.SqlResourceComponent.Execute:-3 Registry.TeamFoundationRegistryService.Write:-3 GroupComponent.SqlResourceComponent.GetGroupsToSync:3 GroupComponent.SqlResourceComponent.Execute prc_GetGroupsToSync ds:LT-TFS2 db:Tfs_Configuration:3 GroupComponent.SqlResourceComponent.Execute:-4 GroupComponent.SqlResourceComponent.GetGroupsToSync:-4 GroupComponent.SqlResourceComponent.ReadGroups:4 GroupComponent.SqlResourceComponent.Execute prc_ReadGroups ds:LT-TFS2 db:Tfs_Configuration:4 GroupComponent.SqlResourceComponent.Execute:-5