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.
Did you use ILB ASE? You probably need to set up certificate and DNS for your ASE subdomain. Check this out https://azure.microsoft.com/en-us/documentation/articles/app-service-environment-with-internal-load-balancer/ regarding how to configure your ASE
Edit: if you use ILB ASE, it means that anything outside of the ASE VNET cannot reach the apps. You can either spin up a VM inside that ASE VNET and deploy from there, or you need a VPN connection to that VNET.
I know it is somewhat confusing when you do ILB ASE, so I wrote a post about it, check it out if you are interested in it
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With