I'm running TeamCity 10 with a cloud agent on Amazon EC2.
The cloud agent built off the AMI by TeamCity is unable to install nuget dependencies, it is always getting this error in the build log.
[16:13:50][restore] An error occurred while sending the request.
[16:13:50][restore] Unable to connect to the remote server
[16:13:50][restore] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 126.96.36.199:443
Additionally the cloud agent instance has no public ip. Is there a setting somewhere that we can set in TC to have the agent built with a public IP?
However, when we manually create an instance using the same AMI, we are able to successfully build. Everything else is the same, except for the public IP.
Can someone assist?