title: Port 80 problems with WCF and possibly Skype
body: <p>Found this which may explain some of my problems - <a href="http://social.msdn.microsoft.com/Forums/en/wcf/thread/685dc613-2776-4c4b-8321-3d56115037b5" rel="nofollow">MSDN Post</a></p>
  
  <p>I have written a wcf service hosted inside a console application. I then have a client that interacts with the service. </p>
  
  <p>The client and service work fine on my machine. </p>
  
  <p>When I move the client to another computer, I can get it working but I have to turn the firewall off on both the server and client machine ( im assuming I can fix this just by opening the firewall ports that the service eventually need to communicate with?) but I also have to turn skype off otherwise I get an "could not register URL <a href="http://+:80/temporary_Listen_Address/" rel="nofollow">http://+:80/temporary_Listen_Address/</a>......" "the process could not access the file because it is being used by another process".</p>
  
  <p>I have read some stuff about changing the client base address but could not get this operating. I may however be missing something else. I have a feeling I should be changing the endpoint address in teh client config when I move it to a different machine to my own, but this broke the setup so I left it unchanged. </p>
  
  <p>Here are my configs.</p>
  
  <p>Server</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;configuration&gt;
    &lt;system.serviceModel&gt;
      &lt;bindings&gt;
        &lt;wsDualHttpBinding&gt;
          &lt;binding name="WSDualHttpBinding_IDataCollector" closeTimeout="00:01:00"
              openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
              bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
              maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
              messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"&gt;
            &lt;readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
                maxBytesPerRead="4096" maxNameTableCharCount="16384" /&gt;
            &lt;reliableSession ordered="true" inactivityTimeout="00:10:00" /&gt;
            &lt;security mode="Message"&gt;
              &lt;message clientCredentialType="UserName" /&gt;
            &lt;/security&gt;
          &lt;/binding&gt;
        &lt;/wsDualHttpBinding&gt;
      &lt;/bindings&gt;
      &lt;services&gt;
        &lt;service name="DataCollector" behaviorConfiguration="defaultProfile" &gt;
          &lt;endpoint address="http://192.168.1.74:8080" binding="wsDualHttpBinding"
            bindingConfiguration="WSDualHttpBinding_IDataCollector" contract="IDataCollector"  /&gt;
        &lt;/service&gt;
      &lt;/services&gt;
      &lt;behaviors&gt;
        &lt;serviceBehaviors&gt;
          &lt;behavior name="defaultProfile"&gt;
            &lt;serviceMetadata httpGetEnabled="True"/&gt;
            &lt;serviceCredentials&gt;
              &lt;serviceCertificate findValue="MyServerCert" x509FindType="FindBySubjectName" storeLocation="LocalMachine" storeName="My" /&gt;
              &lt;userNameAuthentication userNamePasswordValidationMode="Custom" customUserNamePasswordValidatorType="ConsoleHost.UsernameValidator, ConsoleHost" /&gt;
            &lt;/serviceCredentials&gt;
          &lt;/behavior&gt;
        &lt;/serviceBehaviors&gt;
      &lt;/behaviors&gt;
    &lt;/system.serviceModel&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Client</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;configuration&gt;
      &lt;system.serviceModel&gt;
          &lt;bindings&gt;
              &lt;wsDualHttpBinding&gt;
                  &lt;binding name="WSDualHttpBinding_IDataCollector" closeTimeout="00:01:00"
                      openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
                      bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
                      maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
                      messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"&gt;
                      &lt;readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
                          maxBytesPerRead="4096" maxNameTableCharCount="16384" /&gt;
                      &lt;reliableSession ordered="true" inactivityTimeout="00:10:00" /&gt;
                      &lt;security mode="Message"&gt;
                          &lt;message clientCredentialType="UserName" /&gt;
                      &lt;/security&gt;
                  &lt;/binding&gt;
              &lt;/wsDualHttpBinding&gt;
          &lt;/bindings&gt;
          &lt;client&gt;
              &lt;endpoint address="http://192.168.1.74:8080/" binding="wsDualHttpBinding"
                  bindingConfiguration="WSDualHttpBinding_IDataCollector" contract="AshService.IDataCollector"
                  name="WSDualHttpBinding_IDataCollector" behaviorConfiguration="myClientBehavior"&gt;
                &lt;identity&gt;
                      &lt;certificate encodedValue="AwAAAAEAAAAUAAAA9fenyF3cSS38ldDDxtUyC8TajBAgAAAAAQAAALgBAAAwggG0MIIBYqADAgECAhD3kPMzVBbXlEAT5S65MldSMAkGBSsOAwIdBQAwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3kwHhcNMTEwMjExMTU0MDMwWhcNMzkxMjMxMjM1OTU5WjAXMRUwEwYDVQQDEwxNeVNlcnZlckNlcnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAJ9D8W2GBGvwTAZ2eQj12atxPruZxuOwTCLXRwtEvpnoLmlwBuxo7Wb+of0k4XTNLa7q/Xvjh3zsJbvevlPG3hk9+ugds/Je5X69uPbQApYJO2HZNY9hrwfMZ40iaJ54vVAkdnIhDT5pEpmKVFFkPangk1aMyb6Ilm4NjO9bUxjFAgMBAAGjSzBJMEcGA1UdAQRAMD6AEBLkCS0GHR1PAI1hIdwWZGOhGDAWMRQwEgYDVQQDEwtSb290IEFnZW5jeYIQBjdsAKoAZIoRz7jUqlw19DAJBgUrDgMCHQUAA0EAGT7q1aZwAaJ4sMbv53BOo2/yVSpYkTRIaQwT0uYdY1SLyJ7uaUwqJR0jG+nNqwgyOEOfg4Tz0/dX740dw12+1Q==" /&gt;
                  &lt;/identity&gt;
              &lt;/endpoint&gt;
          &lt;/client&gt;
        &lt;behaviors&gt;
          &lt;endpointBehaviors&gt;
            &lt;behavior name="myClientBehavior"&gt;
              &lt;clientCredentials&gt;
                &lt;serviceCertificate&gt;
                  &lt;authentication certificateValidationMode="Custom" customCertificateValidatorType="ConsoleClient.MyX509Validator,ConsoleClient" /&gt;
                &lt;/serviceCertificate&gt;
              &lt;/clientCredentials&gt;
            &lt;/behavior&gt;
          &lt;/endpointBehaviors&gt;
        &lt;/behaviors&gt;
      &lt;/system.serviceModel&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Kind Regards</p>
  
  <p>Ash</p>