title: "HTTP Error 503. The service is unavailable" on port sharing with WebListener on Service Fabric
body: <p>I want to share http/80 port for two different web application(webpi/website) inside service fabric cluster, the application must have 2 different host name:</p>
  
  <p><code>mywebapi.com</code> and <code>mywebsite.com</code></p>
  
  <p>if i run the apps out of fabric(console app) all works fine:</p>
  
  <p>The first console app</p>
  
  <pre><code> var _webHost = new Microsoft.AspNetCore.Hosting.WebHostBuilder()
      .UseWebListener().UseContentRoot(Directory.GetCurrentDirectory())
      .UseStartup&lt;Startup&gt;().UseUrls("http://myWebApi.com/").Build();
  </code></pre>
  
  <p>The second console app:</p>
  
  <pre><code> var _webHost = new Microsoft.AspNetCore.Hosting.WebHostBuilder()
      .UseWebListener().UseContentRoot(Directory.GetCurrentDirectory())
                                                 .UseStartup&lt;Startup&gt;()
                                                 .UseUrls(
                                                  "http://myWebSite.com/"
                                                 )
                                                 .Build();
  </code></pre>
  
  <p>but if i run apps inside a local fabric i get:</p>
  
  <p><code>HTTP Error 503. The service is unavailable.</code></p>
  
  <p>I've setup correct <code>ACL</code> with <code>netsh</code> and <code>SetupEntryPoint(no Access Denied on open)</code>.</p>
  
  <p>On microsoft <code>http.sys</code> guide explicit host is allowed.</p>