我在 Amazon EC2 Windows 实例上有一个 TeamCity Server(9.0.3 (build 32334))。
我的构建代理还有另一个 EC2 实例(Windows)。我在端口 9090 上的这个新实例上安装了构建代理,它在 teamCity UI 上完美显示,但是当我这次使用端口 9091 在同一台机器上安装第二个代理时,新代理没有显示在 TeamCity UI 上(在连接/断开/未授权下)。
但是,两个代理服务都在运行(在 Windows 服务下验证)。
这就是我从 TeamCity 代理日志中得到的
buildServer.AGENT.registration - Call http://1.2.3.4/RPC2 buildServer.registerAgent3: org.apache.xmlrpc.XmlRpcException: jetbrains.buildServer.CannotPingAgentException: Unable to ping agent BuildAgent_QANEW. Check firewall and/or try to specify 'ownAddress' in the agent configuration. Details: Agent 'BuildAgent_QANEW' cannot be accessed by any of the addresses: [1.2.3.4, 2001:0:9d38:90d7:1ca5:281b:f575:9901, 1.2.3.4], (port 9091)