【问题标题】:Trouble Accessing Azure WCF relay Getting "The endpoint was not found. Endpoint does not exist." Error无法访问 Azure WCF 中继获取“找不到端点。端点不存在。”错误
【发布时间】:2019-10-08 14:44:58
【问题描述】:

我一直在尝试将 Azure WCF 中继与链接中给出的两个 ASP 应用程序一起使用

https://docs.microsoft.com/en-us/azure/service-bus-relay/service-bus-dotnet-hybrid-app-using-service-bus-relay

该示例说明如何创建控制台服务器和 MVC 客户端应用程序以使用 azure 服务总线中继进行连接。

如前所述,我创建了 RootManageSharedAccessKey,并为这两个应用程序提供了主键。

但是在执行相同的操作后,我一直遇到这个问题。

Endpoint= http://mynewns01.servicebus.windows.net/products
SharedAccessKey  
O+rmo4DGKpPmg23XPj5HmYmsMChwzLumPKgxxxxxxxxxxx=
System.ServiceModel.EndpointNotFoundException
  HResult=0x80131501
  Message=The endpoint was not found. Endpoint does not exist. TrackingId:91e084d8-d143-4c7f-a2f6-7ca4cb372xx7_G4, SystemTracker:mynewns01.servicebus.windows.net:products, Timestamp:2019-10-08T13:51:46. Please ensure that you can connect to the internet using HTTP port 80 and TCP port 9350.
  Source=mscorlib
  StackTrace:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at ProductsServer.IProducts.GetProducts()
   at ProductsWeb.Controllers.HomeController.Index() in D:\ProductsPortal\Controllers\HomeController.cs:line 32
   at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase con

谁能告诉我我所遵循的示例出了什么问题?

【问题讨论】:

  • 是http还是https?
  • @AzharKhorasany 这是 http

标签: c# azure azure-relay


【解决方案1】:

@Azhar 根据链接,它是 TCP。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-07-04
    • 1970-01-01
    • 2012-02-28
    • 2011-04-10
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多