简体   繁体   中英

Deploying ASP.Net Core application to Azure Website using Visual Studio Team Services has an ERROR_DESTINATION_NOT_REACHABLE error.

I'm working on deploying an ASP.NET Core application stored in Git on Visual Studio Team Services. I've been following this process ( https://www.visualstudio.com/en-us/docs/build/apps/aspnet/aspnetcore-to-azure ); however, I receive the following error on the deployment step, and I'm running into a brick wall. I have verified that I have an SSL cert on xxx.com and www.xxx.com, but it still is failing. Any Ideas?

Error Code: ERROR_DESTINATION_NOT_REACHABLEMore Information: Could not connect to the remote computer ("www.xxx.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 : The remote server returned an error: (404) Not Found.Error count: 1.

Try adding following script in "PublishAspNet5Website.ps1" to see which is the correct MSDeploy URL:

Write-Output $website.EnabledHostNames[0]
Write-Output $website.EnabledHostNames[1]
Write-Output $website.EnabledHostNames[2]
...

Links for your reference:

Resolve an ASP.NET 5 Deployment Issue to Azure Web App Slot

MSDeploy to Azure Web App: Could not connect to the remote computer using the specified process (“Web Management Service”)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM