connection timeout when using ftp upload runner type
Answered
Hi,
We have a virtual machine host using azure server. The vm is ip restricted and we only allow ips within our organization to connect. When I tried to set up a step to upload the files to our host through FTP, it fails due to connection timeout and I guess it is because the server's ip is blacklisted. my question is that if there is a way to find teamcity cloud's ip and whitelist it in our server? We are using teamcity cloud beta version now. Thanks for the help :)
Please sign in to leave a comment.
Hello Sayid,
The FTP runner is executed on the agent side; as of now, all cloud agents within TeamCity Cloud use a single NAT IP address: 63.34.132.192. Could you please whitelist it to see if it helps?
On a side note, we have an internal feature request to make an endpoint for retrieval of IP address pool cloud agents may utilize, as to allow to whitelist them should this be required.
Thanks for the reply. I whitelisted the ip, but didn't work.
Hello Sayid,
One thing you could try to check that is to telnet to the designated FTP port on the target host; if port is reachable, then the issue might be related to something else.
I tried SSH upload while the ip is whitelisted already and it worked. Thanks for the help. :)
Hi Fedor,
I have SSH upload problem again. We whitelisted 63.34.132.192 before and it was working until last Friday (last successful build), but now we have the same problem that we had 4,5 months ago. could it be that the ip is changed? because it seems that cannot connect to our VM. Thanks :)
Hello Sayid,
Yes indeed, the IP addresses have changed; the new ones are as following:
Agents’ NAT instances:
Sorry for the possible inconvenience; please let me know if this helps.