title: HTTP could not register URL
body: <p>I'm trying start a service that uses port 8081. The service stop immediately after start. I look into event viewer and i see this: </p>
  
  <blockquote>
    <p>Service cannot be started.
    System.ServiceModel.AddressAlreadyInUseException: HTTP could not
    register URL https:// +:8081/api/. Another application has already
    registered this URL with HTTP.SYS. --->
    System.Net.HttpListenerException: Failed to listen on prefix
    'https:// +:8081/api/' because it conflicts with an existing
    registration on the machine.</p>
  </blockquote>
  
  <p>I tried to register url with netsh but it says that file already exists, but i can't delete the reservation and it not appear in reservation list (netsh http show urlacl). </p>
  
  <pre><code>netsh http add urlacl url=http:// +:8081/api/ user=\Everyone
  </code></pre>
  
  <blockquote>
    <p>Url reservation add failed, Error: 183 Cannot create a file when that
    file already exists.</p>
  </blockquote>
  
  <pre><code>netsh http delete urlacl url=https:// +:8081/api/
  </code></pre>
  
  <blockquote>
    <p>URL reservation delete failed, Error: 2 The system cannot find the
    file specified.</p>
  </blockquote>
  
  <p>There's anything that i can do to solve this? </p>
  
  <p>Note: The service runs well on another machines. </p>