hosts文件 网络ip映射
kent114514 · · 个人记录
本地地址:C:\Windows\System32\drivers\etc\hosts
功能:你访问网址时,你的计算机会先查找hosts文件进行网址与ip地址的映射,格式为
映射格式:每行一个ip地址与多个网址
如
127.0.0.1 note.ms luogu.com.cn
表示将note.ms与luogu.com.cn映射至127.0.0.1
kent114514 · · 个人记录
本地地址:C:\Windows\System32\drivers\etc\hosts
功能:你访问网址时,你的计算机会先查找hosts文件进行网址与ip地址的映射,格式为
映射格式:每行一个ip地址与多个网址
如
127.0.0.1 note.ms luogu.com.cn
表示将note.ms与luogu.com.cn映射至127.0.0.1