注册 登录
n/vps · 2024-10-29 · 483 次浏览
u/adonis-lau白银
n/vpsu/adonis-lau · 2024-10-29

请教:论坛里领的免费服务器无法访问GitHub

登录后参与讨论。
海外原生IP VPS,稳定访问全球网络

还在为IP不纯、平台风控、频繁验证而烦恼? 丽萨主机海外原生IP VPS,双ISP住宅IP,覆盖美国、香港、日本、新加坡、台湾、德国、越南、英国等热门地区,适合跨境电商、社媒运营、AI工具、流媒体及海外业务使用。

lisahost.com 了解更多

7 条回复

排序
  1. mmsd 白银 2024-10-29

    SSH下复制这一段代码

    cat >> /etc/hosts << EOF
    2a01:4f8:c010:d56::2 github.com
    2a01:4f8:c010:d56::3 api.github.com
    2a01:4f8:c010:d56::4 codeload.github.com
    2a01:4f8:c010:d56::5 objects.githubusercontent.com
    2a01:4f8:c010:d56::6 ghcr.io
    2a01:4f8:c010:d56::7 pkg.github.com npm.pkg.github.com maven.pkg.github.com nuget.pkg.github.com rubygems.pkg.github.com
    EOF

    回车,搞定

    0
  2. lusky 荣誉会员 铂金 圣贤 2024-10-29

    @"adonis-lau"#p132230
    只适用以下分类,需要安装warp
    [upl-image-preview url=https://www.nodeloc.com/uploads/default/2024-10-29/1730165798-1544-image.png]
    https://www.nodeloc.com/d/13754/

    0
  3. lusky 荣誉会员 铂金 圣贤 2024-10-29

    @"右肩有点痛"#p132243 好东西先抄走

    0
  4. adonis-lau 白银 楼主 2024-10-29

    @"右肩有点痛"#p132243 好东西,感谢佬

    0
  5. adonis-lau 白银 楼主 2024-10-29

    @"lusky"#p132244 Soga,我去试试,谢谢佬

    0
  6. jinmage 白银 2024-10-29

    用ping6命令试试,能出ipv6地址吗

    0
  7. adonis-lau 白银 楼主 2024-10-29

    @"金马哥"#p132375 不能的,加了warp能正常用了。CF大善人无敌

    0