Linux - Localhost does not work under Chrome in offline mode

January 2017




Issue


When you want to access your website locally withChrome, under Linux and you're not connected to internet, then it displays a error message:

Solution

  • To fix this issue, just launch the browser with IPv6 enabled (in a terminal, or a shortcut):
  • google-chrome --enable-ipv6
  • or for chromium:
  • chromium-browser - enable-ipv6
  • From now on, you can access an http://localhost/ even if you are disconnected from the web.

Related


Published by jak58. Latest update on February 17, 2011 at 11:59 AM by jak58.
This document, titled "Linux - Localhost does not work under Chrome in offline mode," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).