【问题标题】:Azure Service bus to WCFAzure 服务总线到 WCF
【发布时间】:2015-11-16 20:06:34
【问题描述】:

我在尝试运行将连接到 Azure 服务总线的 WCF REST 服务时遇到问题。我的 web.config 包含以下内容:

<system.serviceModel>
<services>
<service name="helloSB.SomeService">
<endpoint contract="helloSB.ISomeService"
binding="webHttpRelayBinding"
address = "" />
<host>
<baseAddresses>
<add baseAddress="http://localhost:7200/mySB/helloSB.SomeService/" />
</baseAddresses>
</host>

每当我尝试向 WCF 发送消息时,我都会收到: 由于编译期间出现异常,服务 /mySB/SomeService.svc 无法激活。例外情况是:无法通过 TCP (9351, 9352) 或 HTTP (80,443) 访问 localhost。

为什么我不能使用非标准端口?

【问题讨论】:

    标签: c# wcf azure


    【解决方案1】:

    看起来这些与某些端口问题有关。以下链接提供了有关故障排除步骤的更多详细信息。 http://social.technet.microsoft.com/wiki/contents/articles/2055.troubleshooting-connectivity-issues-in-the-azure-appfabric-service-bus.aspx

    【讨论】:

      猜你喜欢
      • 2019-03-06
      • 1970-01-01
      • 2013-06-06
      • 1970-01-01
      • 2012-06-12
      • 2012-10-03
      • 1970-01-01
      • 2018-10-30
      • 1970-01-01
      相关资源
      最近更新 更多