title: What is the difference between 127.0.0.1 and localhost
body: <p>Assuming the following is defined in <code>.../hosts</code>:</p>
  
  <pre><code>127.0.0.1 localhost
  </code></pre>
  
  <p>What, if any, are the actual differences between using <code>127.0.0.1</code> and <code>localhost</code> as the server name, especially when hitting processes running locally that are listening for connections? </p>