dqnk57224 2018-07-17 08:41
浏览 757
已采纳

无法连接到GitHub-下载Go函数时出现问题-连接超时

I am facing an issue while running a Go command for cloning

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

I am using an AWS virtual machine and I have checked all my inbound traffic. I searched other questions of this website for the same issue but it didn't help. Request you guys to help on this.

  • 写回答

2条回答 默认 最新

  • dpfwhb7470 2018-07-25 20:18
    关注

    I was able to resolve this issue by updating inbound and outbound details and selecting the ip address for all SSH,TCP etc as -'from anywhere'

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?