TeamCity build agent disconnected

前端 未结 7 1649
无人及你
无人及你 2021-02-03 19:16

I installed a build agent on Windows 7 and always have the agent show up as \"disconnected\". The log teamcity-agent.txt shows below information

 If this is the          


        
7条回答
  •  庸人自扰
    2021-02-03 19:50

    I ran into this problem when working remotely over VPN and my IP address changed. In the conf/buildAgent.properties file, I changed my assigned IP for the serverURL property to use localhost instead, and the agent connected right up.

    ## The address of the TeamCity server. The same as is used to open 
    TeamCity web interface in the browser.
    #serverUrl=http://111.222.333.444:8111
    serverUrl=http://localhost:8111
    

提交回复
热议问题