Cloudflare和WCF

发布于 2025-01-31 05:09:26 字数 616 浏览 3 评论 0原文

CloudFlare是否支持WCF专门为nettcpbinding绑定,如果是这样?

根据 cloudflare docs

默认情况下,CloudFlare代理到下面列出的HTTP/HTTPS端口的流量。

当我通过CloudFlare(端口2096)路由WCF服务时,我会遇到以下错误:

您试图创建一个不支持.NET框架的服务的频道。您可能遇到HTTP端点。

WCF服务否则在直接行驶时(不是通过Cloudflare)可以正常工作,

我认为nettcpbinding cloudflare不荣幸并破坏它 - 作为basichttpbinding bassichttpbinding 通过CF工作

Does cloudflare support WCF specifically the netTcpBinding binding and if so how?

According to the cloudflare docs:

By default, Cloudflare proxies traffic destined for the HTTP/HTTPS ports listed below.

When I route my WCF service via Cloudflare (port 2096) i encounter the following error:

You have tried to create a channel to a service that does not support .Net Framing. It is possible that you are encountering an HTTP endpoint.

The WCF service otherwise works when going direct (not thru cloudflare)

I assume there is something proprietary in netTcpBinding which cloudflare doesnt honour and it breaks it - as an aside the basicHttpBinding binding works via CF

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文