[技术文章] 解决go包管理代理网址无法访问

[复制链接]
作者
n2n1   发布于2021-9-26 14:03:50 来自河北
go: cloud.google.com/go/storage@v1.10.0: Get "https://proxy.golang.org/cloud.goo
gle.com/go/storage/@v/v1.10.0.mod": dial tcp 142.250.66.49:443: connectex: A con
nection attempt failed because the connected party did not properly respond afte
r a period of time, or established connection failed because connected host has
failed to respond.

cmd
  1. 执行命令:

  2. go env -w GOPROXY=https://goproxy.cn
复制代码


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 创建账号

本版积分规则

Archiver|小黑屋|( 冀ICP备2021005463号 )

GMT+8, 2024-11-21 18:47 , Processed in 0.095704 second(s), 24 queries , Gzip On.

N2N1 It社区 n2n1.cn

Copyright © 2001-2021,MeiCheng.

快速回复 返回顶部 返回列表