班上很多小伙伴经常向我吐槽自己的电脑打开网页的速度特慢,都慢成一种速度了,针对这种情况,估计应该是网络环境出现异常,解决办法如下:
打开C:\Windows\System32\drivers\etc 下的hosts文件,如果里面不是这样的:
#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
说明你的文件已被修改,请全部删除后,把上面那段码复制粘贴进去,然后重启一下本地连接。
注:win7的本地连接在网络和共享中心那点击更改适配器设置。
如果此方法不成,那么可以试试另一个:
windows+R 输入cmd
在cmd.exe中输入:ipconfig/flushdns
如果还不成,那么就只有找大神或者重装系统了