title: Could not connect to net.tcp: The connection attempt lasted for a time span
body: <p>On remote build machine, I get the following error when I run my unit test.</p>
  
  <p><strong>Test method MyNameSpace1.MyNameSpace2.Service.Test.MyPath.XYZServiceTest.FindRecord threw exception: 
  System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://localhost/MyABCServices/XYZService.svc. The connection attempt lasted for a time span of 00:00:02.0086605. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:808.  ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:808</strong></p>
  
  <p>I have very limited access to this build machine. I do not have access to iis on build machine or the services like I do on my local dev machine. The unit tests work on my local dev machine but they run in to error mentioned above on build machine.</p>
  
  <p>What can I do to debug this error? I have read things like check the fire wall etc. But I do not know how to do that? I can not check if the  windows service for this service is up and running on the build machine. I tried to log into the build machine or connect my IIS to this remote machine but I could not. </p>