How to: Enable the Net.TCP Port Sharing Service
Windows Communication Foundation (WCF) uses a Windows service called the Net.TCP Port Sharing Service to facilitate the sharing of TCP ports across multiple processes. This service is installed as part of WCF, but the service is not enabled by default as a security precaution and so must be manually enabled prior to first use. This topic describes how to configure the Net TCP Port Sharing Service using the Microsoft Management Console (MMC) snap-In.
After you enable the Net.TCP Port Sharing Service and start it manually, see How to: Configure a Windows Communication Foundation Service to Use Port Sharing for information about how to configure your service to use this service.
For a sample that uses net.tcp:// port sharing, see the Net.TCP Port Sharing Sample.
To enable the Net.TCP Port Sharing Service using MMC
From the Start menu, open the Services Management Console either by opening a Command Prompt window and typing services.msc or by opening Run and typing services.msc into the Open box.
In the Name column of the list of services, right-click the Net.Tcp Port Sharing Service, and select Properties from the menu.
To enable the manual start-up of the service, in the Properties window select the General tab, and in the Startup type box select Manual, and then click Apply.
To start the service, in the Service status area, click the Start button. The service status should now display "Started".
To return to the list of services, click the OK, and exit the MMC Console.