title: Getting ERR_CONNECTION_REFUSED when running .NET API on localhost from Visual Studio
body: <p>I'm a newbie in .NET coding, I'm trying to run a project using .NET using IIS Express on Google chrome, I get this error : ERR_CONNECTION_REFUSED</p>
  <p><a href="https://i.stack.imgur.com/qk1BP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qk1BP.png" alt="enter image description here" /></a></p>
  <p>Here is what I've tried so far, and it does not work:</p>
  <ul>
  <li><p>Changing the port number under properties section, and creating a new virtual directory
  <a href="https://i.stack.imgur.com/2N6L7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2N6L7.png" alt="enter image description here" /></a></p>
  </li>
  <li><p>Removing the applicationhost.config from the .vs project folder</p>
  </li>
  <li><p>Disabling the proxy</p>
  </li>
  <li><p>Running Visual Studio as an Administrator</p>
  </li>
  <li><p>Disabling the Script Debugging</p>
  </li>
  </ul>