localhost does not connect in offline mode
-
I Can not access any local website without internet connection,
But it works well if I connect to the internet.
-
@voeurnchy : It's not related to Laragon but your OS. You can use
127.0.0.1
or add localhost to your hosts file.
-
@leokhoa Laragon automatic add it in hosts file. I use window 10. I don't know what the problem.
-
@voeurnchy :
From your hosts file, you can see that Laragon added 2 hosts:- myblock.dev
- invoiceninja.dev
You can access them by using:
http://myblock.dev and http://invoiceninja.devNote: Uncomment (remove the
#
) if you want localhost work.
-
@leokhoa Now it works. Thank you so much.
-
@voeurnchy : Glad to hear it works! My pleasure