How to deploy a Web App using Visual Studio to Azure App Service Environment?

时间:2016-10-20 13:04:58

标签: azure visual-studio-2015 azure-app-service-envrmnt

I am trying to deploy a Web application to an App Service Environment but when I try to publish the web app I get this error.

"Web deployment task failed. ( Could not connect to the remote computer ("xxx-xx-xx-xx.scm.xx.xx.com"). Make sure that the remote computer name is correct and that you are able to connect to that computer.)"

Although the publishing profile of the web app gets created successfully and the basic web app template starts appearing in the Resource Group containing the App Service Environment.

1 个答案:

答案 0 :(得分:1)

你使用过ILB ASE吗?您可能需要为ASE子域设置证书和DNS。请查看https://azure.microsoft.com/en-us/documentation/articles/app-service-environment-with-internal-load-balancer/,了解如何配置ASE

编辑:如果使用ILB ASE,则意味着ASE VNET之外的任何内容都无法访问应用程序。您可以在ASE VNET内部启动VM并从那里进行部署,或者您需要与该VNET建立VPN连接。

我知道当你做ILB ASE时有点混乱,所以我写了一篇关于它的帖子,check it out如果你对它感兴趣