title: Teamcity agent cannot connect to gitlab
body: <p>I have one TC server pod and one TC build agent pod running in k8.<br>
  Another TC build agent is running in a separate server(connected with the TC server).</p>
  
  <p><strong>Problem:</strong>
  Is with the build agent outside k8.</p>
  
  <pre><code>Failed to perform checkout on agent: '/usr/bin/git -c core.askpass=/root/temp/buildTmp/pass1564344 -c credential.helper= fetch --progress origin +refs/heads/master:refs/heads/master' command failed.
  exit code: 128
  stderr: fatal: unable to access 'http://ip/project.git/': Failed to connect to gitlab-ip port 80: Connection timed out
  </code></pre>
  
  <p><strong>What I tried:</strong></p>
  
  <p>I tried connecting VCS in VCS root with TEST CONNECTION it's connecting.<br>
  My other agent inside k8 along with TC server is building fine.</p>