我在运行用于克隆的 Go 命令时遇到问题
go get -u --tags nopkcs11 github.com/hyperledger/fabric/core/chaincode/shim
# cd .; git clone https://github.com/hyperledger/fabric /home/ubuntu/go/src/github.com/hyperledger/fabric
Cloning into '/home/ubuntu/go/src/github.com/hyperledger/fabric'...
fatal: unable to access 'https://github.com/hyperledger/fabric/': Failed to connect to github.com port 443: Connection timed out
package github.com/hyperledger/fabric/core/chaincode/shim: exit status 128
我使用的是 AWS 虚拟机,我已经检查了所有入站流量。我在该网站的其他问题上搜索了相同的问题,但没有帮助。请大家帮忙解决这个问题。
最佳答案
我能够通过更新入站和出站详细信息并为所有 SSH、TCP 等选择 IP 地址作为“来自任何地方”来解决此问题
关于git - 无法连接到 GitHub - 下载 Go 函数时出现问题 - 连接超时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51376830/