At the time of install RVM, error: curl: (7) Failed to connect to port 443 raw.githubusercontent.com: Connection refused

The solution

  • Go to the website: www.ipaddress.com/

  • Input in the input box: raw.githubusercontent.com

  • Click the search button

  • The terminal runs the following commandvimOpen thehostsfile
sudo vi /etc/hosts
Copy the code
  • After entering the password, it will openhostsFile, add199.232.96.133 raw.githubusercontent.comMapping relation of

  • Close the hosts file and run the RVM installation command on the terminal