Reputation: 37
We are using VSTS hosted agent to deploy a web deployment package to a server in the corporate network using Web Deploy. However we don't want the port (8172) to be open to every one. Is there any reference which provides the list of IP addresses used by VSTS hosted agents so that we can restrict the access to these IPs only.
Upvotes: 0
Views: 384
Reputation: 4753
Could you not use a Private Agent instead? This is how we got around the problem. Builds and Releases are performed on one of our servers, within the corporate network, by a Private Agent.
https://www.visualstudio.com/en-us/docs/build/concepts/agents/agents
Upvotes: 1
Reputation: 33738
The VSTS Hosted agent is in the cloud and the IP is dynamic, there is not changeless IP range.
There is the user voice that you can vote and follow up: Static IP address for Hosted (Build) Agents in Visual Studio Team Services
Upvotes: 1