I have a WCF service hosted on IIS. It has https and net.tcp bindings enabled. The https binding works fine but net.tcp gives below error:
"The message could not be dispatched because the service at the endpoint address 'net.tcp://localhost/ServiceName.svc' is unavailable for the protocol of the address."
I tried:
- checked the bindings, both https(port 443) and net.tcp(port 808) are enabled.
- Net.Tcp Port Sharing Service and Net.Tcp Listener Adapter Service are running.
- No other service is using net.tcp port 808.
- Did a test-netconnected for port 808 and it succeeded.
I am expecting this service to not give the "Unavailable for net.tcp" error.