I'm trying to run a webservice on a Windows Server 2012 R2, but I get the following error
Could not find a base address that matches scheme net.tcp for the endpoint with binding NetTcpBinding. Registered base address schemes are [http].
The solutions I have tried so far :
- Could not find a base address that matches scheme net.tcp (the first two answers)
My web.config file
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <system.serviceModel>
    <bindings>
      <netTcpBinding>
        <binding name="Binding1" >
          <security mode="Message">
            <message clientCredentialType="Certificate"/>
          </security>
        </binding>
      </netTcpBinding>
    </bindings>
    <services>
      <service name="ServerName" behaviorConfiguration="ServerInternet" >
        <endpoint address=""
            binding="netTcpBinding"
            bindingConfiguration="Binding1"
            contract="Namespace.Interface"
            bindingNamespace="http://www.mycompany.com/webservices"
        />
        <host>
          <baseAddresses>
            <add baseAddress="net.tcp://localhost:8080/WebService/" />
          </baseAddresses>
        </host>
      </service>
    </services>
    <behaviors>
      <serviceBehaviors>
        <behavior name="ServerInternet">
          <!-- certificate infos here -->
          <serviceDebug includeExceptionDetailInFaults="true" />
        </behavior>
      </serviceBehaviors>
    </behaviors>
  </system.serviceModel>
</configuration>
The advanced settings :
The functionalities I have installed on the server :
Pool settings :
- Classic pipeline
- CLR .NET 4.0
- LocalService Identity
The site bindings
What could be the reasons of this error?



 
     
    