The Net.Tcp Port Sharing service makes it possible for multiple Windows Communication Foundation (WCF) services that are using the net.tcp protocol to listen on a single TCP port. Port sharing reduces the number of firewall exceptions that are necessary to host WCF services by allowing the use of common ports that are already open.
Task | Reference | ||
---|---|---|---|
Your application must use the Net.Tcp Port Sharing feature. The developer writes the application to use the NetTcpBinding binding (a .NET 3.0 Class) to connect WCF applications. WCF exposes port sharing as a configurable option on the binding. |
How to: Configure a WCF Service to use Port Sharing (http://go.microsoft.com/fwlink/?LinkId=93846) |
||
Review the features and functions of the Net.Tcp Port Sharing service. When port sharing is enabled, you can run the service multiple times without having a conflict over the port number. |
|||
Enable port sharing on Application Server by installing the Application Server role with the Add Roles Wizard and selecting the TCP Port Sharing role service. |
Additional references
- Installing and
Configuring Application Server
- For additional information about WCF, see
What is Windows Communication Foundation? (http://go.microsoft.com/fwlink/?LinkId=81260).
- For additional information about Net.Tcp, see
NetTcpBinding Class (http://go.microsoft.com/fwlink/?LinkId=93610.