你可以在Vista系统中使用以下方法解决
1.在“开始”菜单
->“搜索”中输入notepad
,然后使用Ctrl+Shift+Enter快捷键即可调用具有系统管理员权限的“记事本”编辑器。
2.在“开始”菜单中单击“所有程序”,单击“附件”,右键单击“记事本”,然后单击“以管理员身份运行”。
hosts文件的路径是
C:\Windows\System32\drivers\etc\
hosts
(C:\
为安装Windows的分区)
假如是WIN系统,可试试:1. 先找出HOSTS位置 C:\WINDOWS\system32\drivers\etc
2. 用记事本打开HOSTS然后复制一下文字覆盖裏面的文字:
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)