Can WCF TCP and HTTP endpoints have the same port?

Posted by dlanod on Stack Overflow See other posts from Stack Overflow or by dlanod
Published on 2010-06-16T06:32:37Z Indexed on 2010/06/16 7:12 UTC
Read the original article Hit count: 230

Filed under:
|
|
|

I'm interested in one WCF server exposing both HTTP and TCP interfaces. It'll be used with Silverlight clients, so the thinking is that the HTTP interface will be for secure communications while TCP will be used the rest of the time.

Is it possible for these two interfaces to use the same port in their endpoints, e.g. http://localhost:9000/ and net.tcp://localhost:9000/?

© Stack Overflow or respective owner

Related posts about wcf

Related posts about Silverlight