title: ASP.net core 2.1 not loading in IIS
body: <p>Im having an issue with a aspnet dotnet core 2.1 app not running in IIS.
  There nothing in the event viewer, the server simply isnt responding (chrome states "[hostname] failed to connect."</p>
  
  <ul>
  <li>Ive installed visual c++ 2015 version 3.  </li>
  <li>Ive installed dotnet-hosting-2.1.3-win.  </li>
  <li>Ive rebooted my machine</li>
  <li>I've restarted IIS</li>
  <li>Ive created the directory "logs/stdout". </li>
  <li>Ive set stdoutLogEnabled="true" to see if I could get an error message.</li>
  <li>Ive configured the appool to be "no managed code".</li>
  <li>Ive set the app pool to run as an administrator user.</li>
  <li>Ive set permissions on the application directory to everyone recursively.  </li>
  <li>Ive checkd under sites[mysite]\modules to ensure "AspNetCoreModule" is listed there and it is.</li>
  </ul>
  
  <p>But nothing I do gives me any information to go on.</p>
  
  <p>If I run the app via "dotnet.exe ./[application].dll" it is started on port 5000 and I can browse to it and it works just fine.</p>
  
  <p>What step am I missing?  How can I get a proper response from IIS to see what the error is?  </p>
  
  <p>This is a Windows Server 2016 machine.  Same results on my Windows 10 dev box.</p>
  
  <p>Update: Ive followed <a href="https://neelbhatt.com/2018/01/30/deploy-net-core-application-to-iis-step-by-step-guide/" rel="nofollow noreferrer">https://neelbhatt.com/2018/01/30/deploy-net-core-application-to-iis-step-by-step-guide/</a> and same results.   Cant get it to load at all.</p>