Why can I use 127.0.0.1 to access successfully, but when I use localhost, it shows that I am not on the server?
寻觅 beyond2018-03-07 11:34:00
You modify the hosts file of this machine.
window is under c:\windows\system32\drivers\etc, add 127.0.0.1 localhost
Linux is under /etc/ Add 127.0.0.1 localhost
to the hosts file