Git Product home page Git Product logo

Comments (4)

aofei avatar aofei commented on June 9, 2024

内网机器是纯内网环境吗?能不能访问外网?另外搭建时用的是什么?如果搭建的时候用的是 Goproxy 且能够访问外网的话,那你可以为你的 Goproxy 配置上游代理,给它配置成 GOPROXY=https://goproxy.cn 即可,同时也别忘了把你们的内部代码源配置进 GOPRIVATE

from goproxy.cn.

jjeejj avatar jjeejj commented on June 9, 2024

内网机器是纯内网环境吗?能不能访问外网?另外搭建时用的是什么?如果搭建的时候用的是 Goproxy 且能够访问外网的话,那你可以为你的 Goproxy 配置上游代理,给它配置成 GOPROXY=https://goproxy.cn 即可,同时也别忘了把你们的内部代码源配置进 GOPRIVATE

机器是可以访问外网的。 而且其他外网资源 比如:github 是可以正常拉取的

from goproxy.cn.

aofei avatar aofei commented on June 9, 2024

跑 Goproxy 服务的机器如果网络畅通,那可以选择直接为 Goproxy 进程配置 GOPROXY=directGOSUMDB=off。需要注意如果没有配置的话它们是有默认值的,默认值是 GOPROXY=https://proxy.golang.org,directGOSUMDB=sum.golang.org,所以最好是手动配置下。

from goproxy.cn.

aofei avatar aofei commented on June 9, 2024

鉴于长时间未回复,这个 issue 我就先关闭了,如果还有其他问题欢迎随时提问。

from goproxy.cn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.