wcfnet.tcp

net.tcp wcf service (windows service hosted) in domain server and client outside of domain


I have a wcf service (with net.tcp binding) hosted at windows service and a wpf client. when I run the service in a server outside the company's domain it works excellent, the problem is when I host the service in a server inside the company's domain, and try to run the wpf app in a client outside of the company domain. I'm getting the same error, "The Socket connection was aborted..." I try with Security Mode None, Transport and the same result. My question is, what is the correct way to do that? I mean host the wcf net TCP service in a domain server and call it from a client outside of domain?

Thanks a lot!


Solution

  • I change the binding from net.tcp to wshttp and the service works fine! Server with the corporate domain and client without corporate domain The thing is I need the make this work with net.tcp