title: Unable to configure WCF service for net.tcp in IIS hosting multiple sites
body: <p>Trying to set up second web site in IIS 7, most/all of the mirrored services function except ones configured for net.tcp.  Trying to  access the .svc url, I receive the following error:</p>
  
  <blockquote>
    <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>
  </blockquote>
  
  <p>IIS binding configuration:</p>
  
  <p><img src="https://i.stack.imgur.com/r5SFR.png" alt="IIS Site Bindings"></p>
  
  <p>Advanced Settings:</p>
  
  <p><img src="https://i.stack.imgur.com/lbHaq.png" alt="Advanced Settings"></p>
  
  <p>Trying to follow answers found on Stack Overflow, none seem to work.
  Content of the service's web.config:</p>
  
  <pre><code>&lt;system.serviceModel&gt;
      &lt;services&gt;
          &lt;service name="ServiceName"&gt;
              &lt;endpoint address="basic" binding="basicHttpBinding" bindingConfiguration=""
                name="basic" contract="ServiceName.IService" /&gt;
              &lt;endpoint address="nettcp" binding="netTcpBinding" bindingConfiguration=""
                name="netTCP" contract="ServiceName.IService" /&gt;
              &lt;host&gt;
                  &lt;baseAddresses&gt;
                      &lt;add baseAddress="http://staging.localhost/ServiceName" /&gt;
                      &lt;add baseAddress="net.tcp://localhost:8033/ServiceName" /&gt;
                  &lt;/baseAddresses&gt;
              &lt;/host&gt;
          &lt;/service&gt;
      &lt;/services&gt;
  </code></pre>
  
  <p>
    
      
        
         
         
       
  </p>
  
  <p>Is there a trick to the net.tcp bindings?  What is correct configuration needed in the web.config?</p>
  
  <p>Thanks!</p>