简体   繁体   English

WCF NetTcpBinding双工通道端点是否可以在端口80上?

[英]Can a WCF NetTcpBinding duplex channel endpoint be on port 80?

In several forum threads I have encountered people say, that 在几个论坛帖子中我遇到过人们说的那个

netTCP cannot use port 80, so there will be firewall issue If I use it for web. netTCP无法使用端口80,因此会出现防火墙问题如果我将其用于网络。

If I have a Windows 2008 Server, with an IP "dedicated" to my WCF service, and will bind NetTcpBinding endpoint to port 80, will my client applications be able to access it from networks, where only access to port 80 of the external server is allowed to? 如果我有一台Windows 2008服务器,其IP专用于我的WCF服务,并将NetTcpBinding端点绑定到端口80,我的客户端应用程序是否能够从网络访问它,其中只能访问外部服务器的端口80被允许? Is the 80/tcp limitation purely "port-allocation"-related, or is there more to it? 80 / tcp限制纯粹是“端口分配”相关的,还是更多的呢?

My (fairly uneducated) guess is that it depends on the firewall thats managing the port. 我(相当没有受过教育)的猜测是,它取决于管理端口的防火墙。 If its a garden all adsl router with built in firewall/NAT then there is a good chance that when you say forward port 80 that is does that without checking packet content. 如果它的花园都是内置防火墙/ NAT的adsl路由器,那么很有可能当你说转发端口80就是这样做而不检查数据包内容。
On the other hand in a corporate enviroment with something like a Pix firewall if you tell it forward http on port 80 its only going to do that for http packets (because its actually checking packet content) and your nettcp will get blocked. 另一方面,在公司环境中使用类似Pix防火墙的东西,如果你告诉它在端口80上转发http,它只会为http数据包执行此操作(因为它实际上正在检查数据包内容),并且你的nettcp将被阻止。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM