您的位置:首页 > 理论基础 > 计算机网络

网络环境异常处理

2014-08-27 14:23 645 查看
班上很多小伙伴经常向我吐槽自己的电脑打开网页的速度特慢,都慢成一种速度了,针对这种情况,估计应该是网络环境出现异常,解决办法如下:

打开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



如果还不成,那么就只有找大神或者重装系统了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息