说明
中国最大的男性交友平台,今天挂了!今天挂了!今天挂了!嗯,重要的事情说三遍。
介绍
今天下午2点50分左右,码云官网(gitee.com)突然访问不了了,想到我的很多代码都在码云上托管,打不开网站所有代码仓库将无法连接使用,于是我迅速打开QQ,找到码云官方交流群,发现全国各地已经有很多人在反映这个问题。
也看到有朋友发说说提示码云挂了,还附了一篇文章,但是该文章被404,如图
然后我看到了红薯本人发话了,写了一篇《阿里云停了码云 Gitee.com 的域名解析!!!!》的短文。大概意思是阿里云在无任何提醒的情况下单方面停止了码云的域名解析(简直胡闹!)。
步骤
咱们不管码云和马云之间到底什么情况,赶紧把问题解决了先:
1.找到hosts文件,文件目录:C:\Windows\System32\drivers\etc
部分电脑该目录下可能没有hosts文件,可以从其他电脑拷一份过来。如果提示无法修改,请使用管理员权限打开文件
2.修改hosts,在最后一行添加内容:212.64.62.174 gitee.com
,修改后如下:
# 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
212.64.62.174 gitee.com
3.浏览器打开码云官网:gitee.com
,刷新,搞定!
版权声明:本站未注明转载的文章均为原创,版权归 如默 所有
本文链接:https://www.rumosky.com/archives/299.html
所有转载文章须注明出处,保留原作者链接,并说明文章非原创,且不可用于商业目的