【问题标题】:Deploying ASP.Net Core application to Azure Website using Visual Studio Team Services has an ERROR_DESTINATION_NOT_REACHABLE error.使用 Visual Studio Team Services 将 ASP.Net Core 应用程序部署到 Azure 网站会出现 ERROR_DESTINATION_NOT_REACHABLE 错误。
【发布时间】:2016-06-06 19:37:01
【问题描述】:

我正致力于在 Visual Studio Team Services 上部署存储在 Git 中的 ASP.NET Core 应用程序。我一直在关注这个过程(https://www.visualstudio.com/en-us/docs/build/apps/aspnet/aspnetcore-to-azure);但是,我在部署步骤中收到以下错误,并且遇到了砖墙。我已验证我在 xxx.com 和 www.xxx.com 上拥有 SSL 证书,但它仍然失败。有什么想法吗?

错误代码:ERROR_DESTINATION_NOT_REACHABLE更多信息:无法连接到远程计算机(“www.xxx.com”)。在远程计算机上,确保安装了 Web Deploy 并启动了所需的进程(“Web 管理服务”)。了解更多信息:http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE.Error:远程服务器返回错误:(404) Not Found.Error count: 1.

【问题讨论】:

标签: azure asp.net-core azure-devops msdeploy


【解决方案1】:

尝试在“PublishAspNet5Website.ps1”中添加以下脚本,看看哪个是正确的 MSDeploy URL:

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

供您参考的链接:

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”)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-10-07
    相关资源
    最近更新 更多