赞
踩
1.打开终端(cmd),输入命令:ping 192.30.255.112 发现连接超时(这个地址是你报错时显示的地址);输入命令:ping github.com 显示超时。
2.打开地址: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.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。