移动后构建无法在新服务器上运行 - TF215097:为构建定义初始化构建时出错

Builds not working on new server after move - TF215097: An error occurred while initializing a build for build definition

将我们的 TFS 实例及其数据库移至我们的新服务器后,除了构建之外,一切似乎都运行正常。我无法让它们中的任何一个工作。
构建服务 运行 作为 NT AUTHORITY\LOCAL SERVICE,它是项目集合构建服务帐户组的成员。

我认为这可能是因为在我们的局域网内,我们无法使用我们的外部 IP 地址浏览到 tfs(在下面的消息中显示为 x.x.128.153:8001/tfs)。有没有办法来解决这个问题?我在哪里可以更改它尝试使用的 url?

查看以下详情:

错误信息:

TF215097: An error occurred while initializing a build for build definition \SCC\Test Build: 
Exception Message: One or more errors occurred. (type AggregateException)
Exception Stack Trace:    at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at Microsoft.TeamFoundation.Build.Client.FileContainerHelper.GetFile(TfsTeamProjectCollection projectCollection, String itemPath, Stream outputStream)
   at Microsoft.TeamFoundation.Build.Client.FileContainerHelper.GetFileAsString(TfsTeamProjectCollection projectCollection, String itemPath)
   at Microsoft.TeamFoundation.Build.Client.ProcessTemplate.Download(String sourceGetVersion)
   at Microsoft.TeamFoundation.Build.Hosting.BuildControllerWorkflowManager.PrepareRequestForBuild(WorkflowManagerActivity activity, IBuildDetail build, WorkflowRequest request, IDictionary`2 dataContext)
   at Microsoft.TeamFoundation.Build.Hosting.BuildWorkflowManager.TryStartWorkflow(WorkflowRequest request, WorkflowManagerActivity activity, BuildWorkflowInstance& workflowInstance, Exception& error, Boolean& syncLockTaken)

Inner Exception Details:

Exception Message: An error occurred while sending the request. (type HttpRequestException)
Exception Stack Trace:    at Microsoft.VisualStudio.Services.WebApi.VssHttpRetryMessageHandler.<SendAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.VisualStudio.Services.WebApi.HttpClientExtensions.<DownloadFileFromTfsAsync>d__2.MoveNext()

Inner Exception Details:

Exception Message: Unable to connect to the remote server (type WebException)Exception Stack Trace:    at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)

Inner Exception Details:

Exception Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond x.x.128.153:8001 (type SocketException)
Exception Stack Trace:    at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)

现在可以使用了。看起来我需要做的就是禁用路由器中的环回检查以使基于 ip 的 url 工作。