[英]Error: Deployment failed: ERROR_DESTINATION_NOT_REACHABLE when deploying to App Service from Azure DevOps Services
[英]Deploying to App Service Environment from Azure DevOps
我們在一個子網中有1個內部 ASE。 在同一網絡的另一個子網中,我們已部署了一個虛擬機,該虛擬機充當Azure DevOps Agent Windows v2
我們能夠從訪問該虛擬網絡的計算機上手動部署Web Apps(使用Visual Studio),但是無法從Azure DevOps進行部署。
這就是我們所做的
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規則中遺漏了什么嗎?
如果構建代理可以通過Internet訪問並且與ILB ASE在同一網絡上,則基於Internet的CI系統(例如GitHub和Azure DevOps)仍可與ILB ASE一起使用。 因此,在使用Azure DevOps的情況下,如果在與ILB ASE相同的VNET上創建了構建代理(可以使用不同的子網),它將能夠從Azure DevOps git中提取代碼並部署到ILB ASE。
https://docs.microsoft.com/zh-CN/azure/app-service/environment/create-ilb-ase
您也可以按照詳細的步驟此文章
希望這可以幫助!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.