在極少數的狀況下 Windows host 檔案可能導致更新問題或干擾安裝。Hosts 檔案是一個可以覆蓋 DNS、轉網址或IP位置到不同的位置。一般家庭使用者不會需要修改 hosts 檔案。

檢查修改

  1. 瀏覽至 C:\Windows\System32\drivers\etc
  2. 建議您可以用記事本或者其他文字編輯軟體開啟 hosts 檔案。Hosts 並不會有附檔名。
  3. 將您的 hosts 檔案與下列的 Microsoft 預設清單進行比較。若您的清單內容不同,代表檔案以被修改。移除任何包含 Blizzard 的網址或 IP 位置。
  4. 儲存檔案。

注意:若您的 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

恢復 Hosts 檔案回微軟預設值

請依照下述步驟將 Hosts 檔案恢復預設值:

  1. 瀏覽至 C:\Windows\System32\drivers\etc
  2. 重新命名 Hosts 檔案成 Hosts.old。
  3. 建立新的 hosts 檔案。請依照下列步驟建立新檔:
    1. 用滑鼠右鍵按一下 c:\Windows\System32\Drivers\Etc 資料夾的空白位置,選擇新增,按一下 文字文件
    2. 檔案名稱輸入 hosts 後按 Enter 按鍵。
    3. 確認檔案副檔名不是 .txt。
    4. 在文字編輯器中開啟新的 Hosts 檔案。比方說,在記事本中開啟檔案。
    5. 將下列文字複製到檔案中:

請在上述選項中進行選擇。

Windows XP

# 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

Windows Vista

# 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
127.0.0.1 localhost
::1 localhost

Windows 7 / Windows 8 / Windows 10

# 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