Failed to connect to raw.githubusercontent.com port 443: Connection refused

Issue: Installation of Hyperledger Fabric Samples, Binaries and Docker Images

I am a newbie to Hyperledger Fabric and I am trying to install Samples, Binaries and Docker Images using the command line:

curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s

However, I am getting the error:

curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

My machine is running Ubuntu 18.04 and I have checked that my version of curl is up-to-date. I have attempted to resolve this issue using online resources, but I have not been successful. I am looking for recommendations on how to solve this problem.

Answer: This error message suggests that the script is unable to connect to the URL specified. This could be due to a firewall blocking the connection or an issue with the network connectivity. You can try the following steps to resolve the issue:

  1. Check your internet connectivity and ensure that you can access the URL manually in your browser.
  2. Try running the command with sudo privileges.
  3. Disable any firewalls or antivirus software temporarily and try running the command again.
  4. Try using a different network or internet connection.

If none of these steps work, you can try downloading the samples, binaries, and docker images manually from the Hyperledger Fabric GitHub repository and installing them locally.