在极少数的情况下Windows Hosts 文件可能会阻挠安装游戏客户端,或者是更新补丁。Hosts文件是一个Windows的系统文件,它可以重写DNS并将URL或IP地址重定向到不同的位置。一般的家庭互联网用户不需要修改Hosts文件。
检查修改
- 按下 Windows 键 + R
- 在运行窗口中输入 %WinDir%\System32\Drivers\Etc ,然后点击确定。
- 建议您可以用记事本或者是其他文字编辑软件打开Hosts文件。Hosts不会有文件扩展名。
- 将您的Hosts文件与Microsoft 默认列表进行比较。若您的列表不同,代表文件已被修改。删除任何包含Blizzard 的网址或IP地址。
- 保存文件。
注意:若您的Hosts文件已被修改,我们建议您执行病毒扫描。病毒和恶意软件会修改Hosts文件并尝试将您引导至恶意网站。
常见的问题修改
以下为在玩家的Hosts文件中最常见的影响暴雪游戏的修改。若您看到相同的信息,请移除他们:
- 127.0.0.1 eu.actual.battle.net
- 127.0.0.1 us.actual.battle.net
- 127.0.0.1 enGB.nydus.battle.net
将Host文件恢复至Microsoft默认值
请按照下列步骤将 Hosts 文件恢复默认值:
- 按下 Windows键 + R
- 在运行窗口中输入 notepad
- 点击确定
- 将下列文字复制到文件中:
# Copyright (c) 1993-2006 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 # localhost name resolution is handle within DNS itself. # 127.0.0.1 localhost # ::1 localhost
- 在“文件”菜单上,选择“另存为”,在“文件名”框中键入“hosts”(包括引号),然后将文件保存到桌面
- 再次按下 Windows 键 + R
- 输入 %WinDir%\System32\Drivers\Etc
- 重新命名 Hosts文件成 Hosts.old。
- 将刚刚在桌面创建的hosts文件复制或移动到 %WinDir%\System32\Drivers\Etc 文件夹中,如果系统提示您输入管理员密码,请选择“继续”。