Sunday, June 13, 2010

TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:808. windows 7

I was trying to establish a TCP connection to consume a WCF service(Windows 7, IIS 7). I was getting the below error:

TCP error code 10061: No connection could be made because the target machine actively
refused it 127.0.0.1:808. windows 7

I couldn't find much help over the internet. I didn't find the net.tcp option in IIS for Default website.



I resolved this issue by Turning the Windows Feature on (Start -> Control Panel-> Programs->Programs and features-> Turn windows feature on or off) -> Windows Communication Foundation Non-Http Activation