azure - Visual Studio 2017 - 部署到 Azure Function v2 (.NetCore v2.1) 错误 : required process (“Web Management Service” ) is started

标签 azure visual-studio-2017 azure-functions azure-linux

我尝试将 VS2017 中的 Functions 项目部署到 Azure Function (Linux)。但是,我遇到了以下错误:

error : Could not connect to the remote computer (“XXX.scm.azurewebsites.net”). On the remote computer, make sure that Web Deploy is installed and that the required process (“Web Management Service”) is started.

最佳答案

error : Could not connect to the remote computer (“XXX.scm.azurewebsites.net”). On the remote computer, make sure that Web Deploy is installed and that the required process (“Web Management Service”) is started.

此错误来自 Azure 的连接端口。当您使用VS部署Azure Functions但无法连接到端口时,VS会向您返回此错误。

这并不意味着您的 WebDeploy 服务未运行。

解决方案:

第一个解决方案:检查防火墙、代理服务器、其他网络设置,或者直接使用另一个网络下的另一台计算机。

第二个解决方案:将门户网站应用程序设置中WEBSITE_WEBDEPLOY_USE_SCM的值更改为< strong>false,然后在 VS 中下载发布设置。

关于azure - Visual Studio 2017 - 部署到 Azure Function v2 (.NetCore v2.1) 错误 : required process (“Web Management Service” ) is started,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58707211/

相关文章:

azure - 使用 Api 管理服务发布 Azure 函数应用程序 - 无法更新 Azure 中的 API(状态代码 : BadRequest))

Azure 服务总线队列 - 使用 BrokeredMessage 进行序列化

azure - 从 Azure 虚拟机连接到 Azure SQL 数据库的能力出现间歇性问题

reactjs - 使用 Azure API 管理运行 React 时如何配置 REST URL?

wpf - Azure Clickonce 发布

visual-studio-2017 - 在 Web 项目中引用类库 .Net Standard 2.0 时,Dotnet core2 Intellisense 被破坏

azure - 限制每个时间跨度的 Azure 持久函数事件最大执行次数的最佳方法

ios - Xamarin Studio for mac 独立 Xamarin.ios 安装程序

asp.net-core - ASP.NET Core 2.x OnConfiguring 从 appsettings.json 获取连接字符串

python - 如何循环遍历行值以仅返回特定值?