Search code examples
tfstfsbuild

TFS 2017 - Build Agent Connection Error - Failed to Connect


We have a 3 tier TFS environment: 1 application server, 1 build server and 1 DB Server. TFS 2017 is installed and configured. We are attempting to connect the Build server with the Application server using config.cmd but receive the following error:

PS D:\agent01> .\config.cmd

Connect:

Enter server URL > https://tfs.domain.com Enter authentication type (press enter for Integrated) > Connecting to server ... An error occurred while sending the request. Failed to connect. Try again or ctrl-c to quit

Firewall Settings:

Source: TFS Build Server Destination: TFS Application Server Ports: 443 and 8080

What other ports need to be allowed between servers?


Solution

  • I reimported the wildcard certificate and I imported DigiCert High Assurance CA in Trusted Root on both TFS Build and Application server.