如何获取 Azure DevOps 托管代理的 IP 地址以添加到白名单 [英] How to get the IP Address for Azure DevOps Hosted Agents to add to the white list
问题描述
有没有办法访问正在运行的托管机器的 IP 地址范围?
Is there a way to the IP address range for the hosted machine running?
这与发布管道 -> 托管代理有关.
This is related to the Release Pipeline -> Hosted agent.
问题:连接被拒绝访问,因为连接被防火墙拒绝.需要将此来自 DevOps 发布管道的请求的 IP 地址范围列入白名单.
Issue: Getting access denied on connection, as the connection is getting refused via Firewall. Need to whitelist the IP address range for this request coming from release pipeline on DevOps.
推荐答案
我们需要将 Azure Datacenters 使用的 IP 地址在下面提到的列表中列入白名单:https://www.microsoft.com/en-nz/下载/details.aspx?id=41653
We need to white list the IP address used by the Azure Datacenters in the list mentioned below: https://www.microsoft.com/en-nz/download/details.aspx?id=41653
注意:此列表每周更新,因此请在部署规划时注意这一点
Note: This list gets updated every week, so please be mindful of this during the deployment planning
这篇关于如何获取 Azure DevOps 托管代理的 IP 地址以添加到白名单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!