补充。一、找到C:WINDOWSsystem32driversetc目录下的hosts文件。
你可以复制 C:WINDOWSsystem32driversetc 粘贴到新窗口地址栏打开就会看到。
二、右键点击hosts文件,选择属性,把只读的勾勾去掉,再确定。
三、双击hosts文件,在打开方式里,选择记事本
四、在127.0.0.1 localhost下面,将下面两行复制进去
113.108.87.76 happyfarm.qzone.qq.com
113.108.87.76 happyfarm.xiaoyou.qq.com
修改好的如下:
# 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
113.108.87.76 happyfarm.qzone.qq.com
113.108.87.76 happyfarm.xiaoyou.qq.com
点确定即可