Home >Backend Development >PHP Tutorial >hosts file is invalid
The hosts file is invalid. Write 127.0.0.1 www.baidu.com in the hosts file. The ping domain name is the IP of the public network.
I saw that the hosts file type is ASII. I also changed the DNS client to manual and closed it, but it still doesn’t work.
The hosts file is invalid. Write 127.0.0.1 www.baidu.com in the hosts file. The ping domain name is the IP of the public network.
I saw that the hosts file type is ASII. I also changed the DNS client to manual and closed it, but it still doesn’t work.
Under win
ipconfig /flushdns Clear DNS cache
ipconfig /displaydns Display DNS list
Check it?
Under Linux (requires verification)
nscd -g View statistics nscd -i {passwd|group|hosts} Clear cache
Maybe it’s cache, as mentioned above
It is possible that the browser itself also caches the DNS resolution results. Try changing to another browser or clearing the browser cache