WCF service blocked by Windows Firewall

后端 未结 2 646
萌比男神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.
    0 讨论(0)
  • 2021-01-04 10:32

    Try the MSDN article Configuring HTTP and HTTPS.

    0 讨论(0)
提交回复
热议问题