title: ASP.NET 5 MVC: unable to connect to web server 'IIS Express'
body: <p>What I'm doing:</p>
  
  <ul>
  <li>Opening Visual Studio Community 2015</li>
  <li>File -> New -> Project</li>
  <li>Under Visual C#: Web -> ASP.NET Web Application</li>
  <li>Web Application</li>
  <li>And press f5 for the popup error "<a href="https://i.imgur.com/KR9850P.png" rel="noreferrer">unable to connect to web server 'IIS Express'.</a>"</li>
  </ul>
  
  <p>Deleting <code>applicationhost.config</code>, located in <code>Documents\IISExpress\config</code>, doesn't change the error message. (There's also an <code>IISExpress</code> folder in <code>program files</code> and <code>program files (x86)</code>.)</p>
  
  <p>Something I noticed, and I don't know if it's a problem: </p>
  
  <blockquote>
    <p>Referenced file 'lib/jquery-validation/jquery.validate.js' not found.</p>
  </blockquote>
  
  <p>I got a dump with rawcap but I don't notice much in there. Some of what was there:</p>
  
  <blockquote>
    <p>"Framework":{"FrameworkName":"DNXCore,Version=v5.0","FriendlyName":"DNX Core 5.0","ShortName":"dnxcore50","RedistListPath":null}</p>
  </blockquote>
  
  <p>I don't notice a problem, but I have the network data if that can help figure out why I cannot connect to the web server. I get a <code>RST,ACK</code> immediately so I'm guessing the port is closed and whatever this web server is, isn't being setup.</p>
  
  <p>More on this problem: <a href="https://stackoverflow.com/questions/35965524/iis-express-800700c1-error-with-visual-studio-2015-asp-net-mvc">800700c1 error from /trace:error</a></p>
  
  <p>I've tried:</p>
  
  <ul>
  <li>deleting applicationhost.config (and changing port number)</li>
  <li>running visual studio as administrator</li>
  <li>deleting IISExpress folder in Documents (changes error message until the folder is reinstalled)</li>
  <li>toggling ssl off and on, copying url to launch box. (note: I'm not using ssl)</li>
  <li>clearing all sfc /scannow errors</li>
  <li>starting iisexpress with x86 version and 64-bit version</li>
  </ul>