title: What are the differences between Launch URL and App URL?
body: <p>What is the difference between <code>App URL</code> and <code>Launch URL</code> from <code>ASP.NET Core</code>?</p>
  
  <p><a href="https://i.stack.imgur.com/anwpD.png" rel="noreferrer"><img src="https://i.stack.imgur.com/anwpD.png" alt="enter image description here"></a></p>
  
  <p>With these settings, I can access my app, both over <code>HTTP</code> on port 4099 and over <code>HTTPS</code> on port <code>44363</code>, but first it launches on <code>HTTPS</code>.  I'm using VS 2017.  If I use the same URL for App and Launch I get:</p>
  
  <blockquote>
    <p>An error occurred attempting to determine the process id of <code>dotnet.exe</code> which is hosting your application. One or more errors occurred.</p>
  </blockquote>
  
  <p>If I remove <code>Launch URL</code> and keep <code>App URL</code> with <code>HTTPS</code> I get the same error.</p>
  
  <p>What is the difference between them and how do I redirect every <code>HTTP</code> request to <code>HTTPS</code>?
  Microsoft is not helping right now: <a href="https://docs.microsoft.com/en-us/aspnet/core/security/enforcing-ssl" rel="noreferrer">link to microsoft docs</a></p>