WCF service blocked by Windows Firewall

后端 未结 2 650
萌比男神i
萌比男神i 2021-01-04 10:26

I\'ve got a WCF service using a HttpBinding. The service is running in a self hosting process (A Windows Service) and this process is inside the Windows Firewall exceptions

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-04 10:31

    As far as I know, adding self hosted WCF service process to firewall does not work, because it is not that process taking inbound calls, it only works if

    1. add service port to global port exception
    2. add WCF inbound daemon process to process exception, I'm not sure about http, but for net.tcp bindings, you need $FrameworkDir/SMSvcHost.exe instead of your process.

提交回复
热议问题