【发布时间】:2019-03-13 14:01:01
【问题描述】:
子网中有 1 个内部 ASE。在同一网络的不同子网中,我们部署了一个虚拟机,充当Azure DevOps Agent Windows v2
我们能够从访问此虚拟网络的机器手动部署 Web 应用程序(使用 Visual Studio),但无法从 Azure DevOps 进行部署。
这就是我们所做的
- 存在默认 NSG 规则,因此在 80/443 端口上启用流量。更新了 NSG 以允许进出以下流量:
13.107.6.183和13.107.9.183(检查所有端口) - 管道任务添加标志
-allowUntrusted
我们在部署过程中得到的错误是:
More Information: Could not connect to the remote computer ("{myapp}.scm.{customdomain}.com"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Management Service") is started. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE.
Error: Unable to connect to the remote server
Error: 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 xx.xx.xx.xx:443
Error count: 1.
我们是否遗漏了 NSG 规则中的任何内容?
【问题讨论】:
标签: azure azure-devops azure-deployment azure-app-service-envrmnt