最近有Win7系统用户反映,登录LOL的时候出现提示“LOL登录时遇到了一个预期之外的错误”,导致LOL登入失败,用户反复试了几次,结果都一样,这让用户非常烦恼,那么,Win7系统LOL登录时遇到了一个预期之外的错误如何解决呢?下面,我们一起往下看看。
方法/步骤
1、找到我们本机内的hosts文件,如果Hosts在指向的时候出现了问题,是会出现LOL登入时遇到了一个预期之外的错误这种问题的;
2、一般情况下路径为C:WindowsSystem32driversetc,找到这个文件然后清空文件内容,复制以下内容粘贴进去;
01# Copyright (c) 1993-2009 Microsoft Corp.
02#
03# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
04#
05# This file contains the mappings of IP addresses to host names. Each
06# entry should be kept on an individual line. The IP address should
07# be placed in the first column followed by the corresponding host name.
08# The IP address and the host name should be separated by at least one
09# space.
10#
11# Additionally, comments (such as these) may be inserted on individual
12# lines or following the machine name denoted by a '#' symbol.
13#
14# For example:
15#
16# 102.54.94.97 rhino.acme.com # source server
17# 38.25.63.10 x.acme.com # x client host
18# localhost name resolution is handled within DNS itself.
19# 127.0.0.1 localhost
20# ::1 localhost
复制代码# Copyright (c) 1993-2009 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