WCF分布式应用开发,托管宿主配置终结点错误:找不到匹配式样http的基地址,
Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered base address schemes are [].
如图:
WCF分布式开发常见错误(5)Could not find a base address that matches scheme
解决办法:打开托管宿主配置文件,添加基地址节点,与配置文件里终结点地址一致即可。
          <host>
          <baseAddresses>
            <add baseAddress="http://localhost:8001/"/>
            <add baseAddress="net.tcp://localhost:8002/"/>
          </baseAddresses>
        </host>

转载于:https://blog.51cto.com/frankxulei/320425

相关文章:

  • 2021-10-25
  • 2021-10-20
  • 2021-12-31
  • 2021-07-08
  • 2022-01-19
  • 2022-01-17
猜你喜欢
  • 2021-07-19
  • 2022-12-23
  • 2021-11-01
  • 2021-05-08
  • 2021-08-10
  • 2021-10-14
相关资源
相似解决方案