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.1or 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.
From your hosts file, you can see that Laragon added 2 hosts:
Note: Uncomment (remove the
#) if you want localhost work.
@leokhoa Now it works. Thank you so much.
@voeurnchy : Glad to hear it works! My pleasure