打开C:\Windows\System32\drivers\etc\hosts,在文件末尾添加
192.30.255.112 github.com git
185.31.16.184 github.global.ssl.fastly.net
保存后,在cmd终端中ping github.com,可以看到字节交互,说明连接成功。
链接:https://mrbailijie.github.io/docsifyBlog/index.html#/blog/github
打开C:\Windows\System32\drivers\etc\hosts,在文件末尾添加
192.30.255.112 github.com git
185.31.16.184 github.global.ssl.fastly.net
保存后,在cmd终端中ping github.com,可以看到字节交互,说明连接成功。
链接:https://mrbailijie.github.io/docsifyBlog/index.html#/blog/github
github网站正常访问,但是git push代码报错,提示端口22错误,访问超时!怎么搞?
hosts文件位置:/etc/hosts。3:然后就会跳转到hosts文件位置。打开"前往文件夹",输入框中输入。1:首先,打开(访达)
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M