修改主机hosts文件
C:\Windows\System32\drivers\etc>cd #查看当前路径C:\Windows\System32\drivers\etcC:\Windows\System32\drivers\etc>dir #查看当前路径下的文件及目录 驱动器 C 中的卷是 系统 卷的序列号是 0000-A0CE C:\Windows\System32\drivers\etc 的目录2015/03/24 16:25.2015/03/24 16:25 ..2015/02/14 11:15 853 hosts2015/02/14 01:40 853 hosts.dz2009/06/11 05:00 3,683 lmhosts.sam2009/06/11 05:00 407 networks2009/06/11 05:00 1,358 protocol2009/06/11 05:00 17,463 services 6 个文件 24,617 字节 2 个目录 45,674,573,824 可用字节
直接编辑hosts文件