search

Home  >  Q&A  >  body text

The hosts file has always

I clicked on the other options menu, clicked to open hosts, the file opened was an empty file, I wrote a sentence: 127.0.0.1 www.baidu.com, clicked to save, prompt: You can also create the file hosts, Please confirm that the path and file name are correct.

Excuse me, what is going on?

享耳享耳2148 days ago1274

reply all(3)I'll reply

  • 殘留の回憶

    殘留の回憶2019-02-20 15:51:03

    Just save it directly. Hosts is a system file, please confirm it

    reply
    1
  • 享耳

    Sorry, I made a typo when I asked the question. It should have been "cannot create file hosts". This problem has been solved. It should be that the 360 ​​anti-virus software set the read-only attribute of this file to prevent attacks. Let me ask another question. I want to use my own computer as a website server. How should I set it up? Thanks!

    享耳 · 2019-02-24 14:40:54
  • Cancelreply