我正在尝试将一个使用Docker的构建代理连接到我的TeamCity服务器。我执行了这个命令:
docker run -it -e SERVER_URL="xxxx:8111" jetbrains/teamcity-agent
它尝试设置所有内容,但返回以下错误:
[2019-08-12 11:02:45,218] WARN - buildServer.AGENT.registration -
Error while asking server for the communication prot
ocols via URL http://xxxx:8111/app/agents/protocols. Will try
later: java.net.ConnectException: Connection timed
out: connect (enable debug to see stacktrace)
[2019-08-12 11:02:45,218] WARN - buildServer.AGENT.registration -
Error registering on the server via URL http://xxxx:8111. Will continue repeating connection attempts.