【问题标题】:Azure Front Door Visual Studio Remote DebuggingAzure Front Door Visual Studio 远程调试
【发布时间】:2021-12-04 04:52:02
【问题描述】:

连接到受 Azure WAF/FrontDoor 保护的 Azure Web 应用时,我无法连接到调试器,似乎 WAF/FronDoor 上的入站端口 4024 被阻止。远程调试已启用,并且在开发服务器上打开了出站端口。知道这是否应该工作或如何使其工作?

谢谢。

完全错误:

System.Runtime.InteropServices.COMException (0x89710023):无法连接到名为“*.”的 Microsoft Visual Studio 远程调试器。 Visual Studio 2019 远程调试器 (MSVSMON.EXE) 似乎没有在远程计算机上运行。这可能是因为防火墙阻止了与远程计算机的通信。有关配置远程调试的帮助,请参阅帮助。 在 Microsoft.WebTools.Azure.VS.Operations.IDebuggerInternal120.ConnectToServer(字符串 szServerName,VsDebugRemoteConnectOptions[] pConnectOptions,CONNECT_REASON ConnectReason,Int32 fIncrementUsageCount,IDebugCoreServer3& ppServer) 在 Microsoft.WebTools.Azure.VS.Operations.RemoteDiagnosticsSessionBase`1.ConnectToServer(字符串站点,字符串用户,字符串密码)

【问题讨论】:

    标签: azure-web-app-service azure-front-door azure-waf


    【解决方案1】:

    如果您使用 64 位,则必须启用端口 4025。对于 32 位,您必须启用端口 4024。

    我也有这个问题。我通过将平台从 32 位更改为 64 位来解决它。转到应用服务 -> 配置 -> 常规设置。现在将平台从32-bit 更改为64 bit。

    remote debugger port assignments vs 2019 & configure the windows firewall for remote debugging vs 2019 参考这里

    更多请参考info

    【讨论】:

      猜你喜欢
      • 2017-01-18
      • 2022-11-03
      • 2019-11-11
      • 1970-01-01
      • 2020-01-29
      • 2022-11-25
      • 2023-03-29
      • 2018-07-26
      • 1970-01-01
      相关资源
      最近更新 更多