我们在一个子网中拥有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规则中有什么遗漏吗?