NetTcpBinding和Windows 7防火墙 [英] NetTcpBinding and Windows 7 firewall
问题描述
我有一个使用nettcpbinding的wcf winforms自托管应用程序.(net.tcp://aaa.homeip.net:9388) 问题是Windows 7防火墙,我在入站和出站列表(端口9388)上添加了异常,但仍然无法正常工作(即使客户端位于同一台计算机上)...我也尝试在程序上添加分布式事务处理协调器类似于此提示的列表,但没有成功. . 禁用防火墙后,一切正常.
I have an wcf winforms self-hosted app using nettcpbinding.(net.tcp://aaa.homeip.net:9388) The problem is windows 7 firewall, I added the exception on the inbound and outbound list (port 9388) but still doesnt work(even if the client is in the same machine)...I also tried to add Distributed Transaction Coordinator on the program list like this hint but no success... Everything works fine when firewall is disabled.
推荐答案
在具有高级安全性的Windows防火墙中的入站规则中添加/启用Windows Communication Foundation Net.TCP侦听器适配器(TCP-In)
Add/enable Windows Communication Foundation Net.TCP Listener Adapter (TCP-In) in Inbound Rules in Windows Firewall with Advanced Security
这篇关于NetTcpBinding和Windows 7防火墙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!