title: Could not find a base address that matches scheme net.tcp for the endpoint with binding NetTcpBinding
body: <p>I have a service with a basichttp binding and I am trying to add a net.tcp binding to it. here is how the config looks like: </p>
  
  <pre><code>&lt;services&gt;
        &lt;service behaviorConfiguration="ServiceBehavior" name="Some.L.E.S.BusinessService"&gt;
  
  
          &lt;endpoint address="" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IBusinessService"
            contract="Some.L.E.Services.IBusinessService"&gt;
            &lt;identity&gt;
              &lt;dns value="localhost" /&gt;
            &lt;/identity&gt;
          &lt;/endpoint&gt; 
  
  
          &lt;endpoint address="/BusinessService.svc" binding="netTcpBinding" bindingConfiguration="netTcpBinding_IBusinessService" contract="Some.L.E.Services.IBusinessService"&gt;
                &lt;identity&gt;
                    &lt;dns value="localhost" /&gt;
                &lt;/identity&gt;
            &lt;/endpoint&gt;
  
  
            &lt;host&gt;
                &lt;baseAddresses&gt;
                   &lt;add baseAddress="http://localhost:63487/"/&gt; 
                   &lt;add baseAddress="net.tcp://localhost/" /&gt;
                &lt;/baseAddresses&gt;
            &lt;/host&gt;
  
  
        &lt;/service&gt;
      &lt;/services&gt;
      &lt;behaviors&gt;
        &lt;serviceBehaviors&gt;
            &lt;behavior name="ServiceBehavior"&gt;
              &lt;!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment --&gt;
              &lt;serviceMetadata httpGetEnabled="true"/&gt;
              &lt;!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information --&gt;
              &lt;serviceDebug includeExceptionDetailInFaults="true"/&gt;
            &lt;/behavior&gt;
        &lt;/serviceBehaviors&gt;
      &lt;/behaviors&gt;
      &lt;serviceHostingEnvironment multipleSiteBindingsEnabled="true" /&gt;
  
      &lt;!-- Start of HostServices client configurations --&gt;
      &lt;bindings&gt;
        &lt;basicHttpBinding&gt;
          &lt;binding name="BasicHttpBinding_IBusinessService" closeTimeout="00:01:00"
              openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
              allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
              maxBufferSize="2147483647" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647"
              messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
              useDefaultWebProxy="true"&gt;
            &lt;readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647"
                maxBytesPerRead="4096" maxNameTableCharCount="16384" /&gt;
            &lt;security mode="None"&gt;
              &lt;transport clientCredentialType="None" proxyCredentialType="None" realm="" /&gt;
            &lt;/security&gt;
          &lt;/binding&gt;
  
   &lt;/basicHttpBinding&gt;
          &lt;!-- RSF --&gt;
          &lt;netTcpBinding&gt;
              &lt;binding name="netTcpBinding_IBusinessService" closeTimeout="00:01:00"
              openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
              hostNameComparisonMode="StrongWildcard"
              maxBufferSize="2147483647" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647"
              transferMode="Buffered"&gt;
                  &lt;readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647"
       maxBytesPerRead="4096" maxNameTableCharCount="16384" /&gt;
                  &lt;security mode="None"&gt;
                      &lt;transport clientCredentialType="None"/&gt;
                  &lt;/security&gt;
              &lt;/binding&gt; 
          &lt;/netTcpBinding&gt;
      &lt;/bindings&gt;
  </code></pre>
  
  <p>I start this service up in VS2010 and I am trying to connect to it from another VS2010 project. However I get the following error:</p>
  
  <p>Could not find a base address that matches scheme net.tcp for the endpoint with binding NetTcpBinding. Registered base address schemes are [http]</p>
  
  <p>Most solutions seem to recommend changes to the web.config in IIS virtual directory. But my Service is not hosted in IIS.</p>
  
  <p>Any help will be much appreciated.</p>
  
  <p>Thank you,</p>
  
  <p>GM</p>