title: how to shutdown web server
body: <p>I am trying to create an offline web app from a practice book, and do not fully understand the quote below. First of all, how do you know you are using a localhost for a web server domain? Then, how do you shutdown the web server? Is the localhost domain referring to your device's router? If so, will turning off the router shutdown the web server? I would appreciate any help. </p>
  
  <blockquote>
    <p>If you are using localhost for the web server domain you will need to shutdown the web server to simulate offline mode, since even without network connectivity your browser can access the local host domain</p>
  </blockquote>