Search code examples
.netwcfwindows-7net.tcpwindows-firewall

NetTcpBinding and Windows 7 firewall


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.


Solution

  • Add/enable Windows Communication Foundation Net.TCP Listener Adapter (TCP-In) in Inbound Rules in Windows Firewall with Advanced Security