+1  A: 

You'll need to enable the TCP hosting in WAS by calling appcmd.exe:

%windir%\system32\inetsrv\appcmd.exe set site 
    "Default Web Site" -+bindings.[protocol='net.tcp',bindingInformation='*']

Check out the MSDN documenation or Michele Leroux Bustamante's article on this topic - it contains all the info you'll need.

Marc

marc_s
you can also do this via the IIS7 Gui. Go to your site -> edit bindings and add the net.tcp binding with the corresponding port:*
Konrad
+1 from me @marc plus more if possible! I did notice that in my environment I needed to specify the binding information as '808:*' perhaps this should be edited into your answer? Also found that having the incorrect '*' broke things. I needed to remove it before this would work. Thanks again, saved my day!
David Hall
A: 

Hello Marc,

Thnak you for your answer and for the links. I'll check them. I forgot to tell but I had already enable TCP hosting on was. Someone suggested me to add this to the config file:

<endpoint address="mextcp" binding="mexTcpBinding" contract="IMetadataExchange"/>

And now it's working ok. Best regards,

Gonzalo

A: 

I'm having the same trouble. What did you added to your config file to make it work?

Luiz
Hi Luiz,Unfortunatelly, we're not running owr service using netTcpBinding anymore since a few months ago, so I don't have the configuration file that finally worked at that time.However, Marc's answer above helped at that time I recall.One thing for sure, I had to check several sites on the internet to figure it out. I couldn't find the complete procedure in a single site.Best wishes,Gonzalo
Thanks Gonzalo,I will continue looking and trying. I have already tried lots of different suggestions up to the time.
Luiz