如果無法連上《英雄聯盟》,可能需要重設你的hosts檔案。方法如下:
- 按Windows鍵 + R
- 輸入「%WinDir%\System32\Drivers\Etc」並按下Enter鍵
- 你需要複製「hosts」這個檔案。在開啟的視窗中先右擊「hosts」再點選「複製」。
- 依序右擊「Etc」資料夾的空白處並點選「貼上」(可能需要管理員權限)。
- 右擊「hosts」然後選取「複製」,再點選「重新命名」。
- 將之重新命名為「hosts.old」。
- 按一下「開始」按鈕(
或
),然後搜尋「Notepad」。 - 右擊Notepad或偏好的文字編輯程式後,再點選「以系統管理員身分執行」。
- 使用Notepad或自備的文字編輯程式開啟%WinDir%\System32\Drivers\Etc當中的「hosts(請務必確定您檢查過所有檔案,而非只有*.txt檔」。
- 刪除檔案中的全部內容,然後以下列內容取而代之:
# 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 handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost - 儲存檔案。
如果此後情況惡化,則請用您事先儲存的備份取代該檔案,然後查看我們的基本連線疑難排解指南專文,以針對連線至《英雄聯盟》取得進一步協助。
