title: WCF service only works on my computer, but my friends get exception tring to use it
body: <p>I have created &quot;LoginRegisterService&quot; and it works perfectly fine on my pc, but when my friend tries to use it using RadminVPN nothing works. He gets the &quot;AuthenticationException&quot;
  and something about problems with SSPI. I think that it's something about my app.config files.</p>
  <p>Server app.config</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;
  &lt;configuration&gt;
      &lt;startup&gt; 
          &lt;supportedRuntime version=&quot;v4.0&quot; sku=&quot;.NETFramework,Version=v4.7.2&quot; /&gt;
      &lt;/startup&gt;
      &lt;system.serviceModel&gt;
          &lt;bindings&gt;
              &lt;netTcpBinding&gt;
                  &lt;binding name=&quot;NetTcpBinding_ILoginRegisterService&quot;&gt;
                      &lt;security mode=&quot;Transport&quot;&gt;
                          &lt;transport clientCredentialType=&quot;Windows&quot; protectionLevel=&quot;EncryptAndSign&quot; /&gt;
                          &lt;message clientCredentialType=&quot;Windows&quot; /&gt;
                      &lt;/security&gt;
                  &lt;/binding&gt;
              &lt;/netTcpBinding&gt;
          &lt;/bindings&gt; 
                  
          &lt;behaviors&gt;
              &lt;serviceBehaviors&gt;
                  &lt;behavior name=&quot;mexBeh&quot;&gt;
                      &lt;serviceMetadata httpGetEnabled=&quot;true&quot; httpsGetEnabled=&quot;true&quot; /&gt;
                      &lt;serviceDebug includeExceptionDetailInFaults=&quot;false&quot; /&gt;
                  &lt;/behavior&gt;
              &lt;/serviceBehaviors&gt;
          &lt;/behaviors&gt;
  
          &lt;services&gt;
              &lt;service name=&quot;BlazeRPServer.LoginRegisterService&quot; behaviorConfiguration=&quot;mexBeh&quot;&gt;
                  &lt;endpoint address=&quot;net.tcp://*.*.*.*:8968&quot; binding=&quot;netTcpBinding&quot; contract=&quot;BlazeRPServer.ILoginRegisterService&quot;/&gt;
                  &lt;endpoint address=&quot;mex&quot; binding=&quot;mexHttpBinding&quot; contract=&quot;IMetadataExchange&quot; /&gt;
                  &lt;host&gt;
                      &lt;baseAddresses&gt;
                          &lt;add baseAddress=&quot;http://*.*.*.*:8967&quot; /&gt;
                          &lt;add baseAddress=&quot;net.tcp://*.*.*.*:8968&quot; /&gt;
                      &lt;/baseAddresses&gt;
                  &lt;/host&gt;
              &lt;/service&gt;
          &lt;/services&gt;
      &lt;/system.serviceModel&gt;
      &lt;connectionStrings&gt;
          &lt;add name=&quot;UserDB&quot; connectionString=&quot;Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Users\User\source\repos\BlazeRPClientLauncher\BlazeRPServer\UsersDataBase.mdf;Integrated Security=True&quot;/&gt;
      &lt;/connectionStrings&gt;
  &lt;/configuration&gt;
  </code></pre>
  <p>Client App.config</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;
  &lt;configuration&gt;
      &lt;startup&gt; 
          &lt;supportedRuntime version=&quot;v4.0&quot; sku=&quot;.NETFramework,Version=v4.7.2&quot; /&gt;
      &lt;/startup&gt;
      &lt;system.serviceModel&gt;
          &lt;bindings&gt;
              &lt;netTcpBinding&gt;
                  &lt;binding name=&quot;NetTcpBinding_ILoginRegisterService&quot;&gt;
                      &lt;security mode=&quot;Transport&quot;&gt;
                          &lt;transport clientCredentialType=&quot;Windows&quot; protectionLevel=&quot;EncryptAndSign&quot; /&gt;
                          &lt;message clientCredentialType=&quot;Windows&quot; /&gt;
                      &lt;/security&gt;
                  &lt;/binding&gt;
              &lt;/netTcpBinding&gt;
          &lt;/bindings&gt;
          &lt;client&gt;
              &lt;endpoint address=&quot;net.tcp://*.*.*.*:8968/&quot; binding=&quot;netTcpBinding&quot;
                  bindingConfiguration=&quot;NetTcpBinding_ILoginRegisterService&quot;
                  contract=&quot;LoginRegisterService.ILoginRegisterService&quot; name=&quot;NetTcpBinding_ILoginRegisterService&quot;&gt;
                  &lt;identity&gt;
                      &lt;servicePrincipalName/&gt;
                  &lt;/identity&gt;
              &lt;/endpoint&gt;
          &lt;/client&gt;
      &lt;/system.serviceModel&gt;
  &lt;/configuration&gt;
  </code></pre>