title: Mac localhost:8080 doesn't work
body: <p>I'm working on macOS 10.13.3 and when I run my webpack project on default port 8080, I've got in chrome (any other browser, firefox or safari doesn't work too): </p>
  
  <blockquote>
    <p>This page isn’t working</p>
  </blockquote>
  
  <p>on localhost:8080, but application works fine on 127.0.0.1:8080. When I change port in webpack.config for any other port i.e. 8081, it works fine, both on localhost:8081 and 127.0.0.1:8081.</p>
  
  <p>My /private/etc/hosts file:</p>
  
  <pre><code>##
  # Host Database
  #
  # localhost is used to configure the loopback interface
  # when the system is booting.  Do not change this entry.
  ##
  127.0.0.1       localhost
  255.255.255.255 broadcasthost
  
  ::1             localhost
  </code></pre>
  
  <p>Thanks for help.</p>