Enable TCP, PIPE, MSMQ protocols in IIS

Kailash Chandra Behera | Saturday, December 30, 2017


This blog describes how to enable TCP, PIPE, MSMQ etc., those are not enabled default in Microsoft Windows IIS.

Getting Started

Windows IIS by default enables only HTTP, HTTPS, and FTP protocols and you will get those protocols in the binding window of IIS.

But TCP, PIPE etc. protocols Can be enabled by tuning windows feature and IIS, the below steps define how to tune Windows features and IIS to enable the above protocols.

Steps to Tune Windows Features

  1. Open Control Panel=>Programs=>Click on Uninstall or Change a Program=> Click on Link ‘Turn Windows Features on or off’.
  2. Windows Features window will be opened, expand .NET Framework Advance Service.
  3. Expand WCF Services=>Select All the Features HTTP Activation, Message Queuing (MSMQ) Activation, Named Pipe Activation, TCP Activation, TCP Port Sharing .Click OK button.
Windows will apply the changes you made and you will get message popup, close the window (Clicking on close button), restart your machine and follow the below steps.

Steps to Tune IIS

  1. Open IIS=> in Connections panel=> expand Sites=>Select your website.
  2. Go to Right site Action Pane=> click on Advanced Settings.
  3. Expand the ‘Behavior’ section In the field ‘Enable Protocols’ set these below values by commas, (http,net.tcp,net.pipe,net.msmq,msmq.formatname).
  4. Click OK button.
If you have followed the above steps correctly, then you are done Now and you will find the above protocols in the binding window.