Curl’s solution: (7) Failed to connect to raw.githubusercontent.com port 443

Answer:

1. First request an IP address corresponding to the raw.githubusercontent.com domain name

Go to the URL for this request: https://tools.ipip.net/domain.php

1299b0fb3f9268bd2e77603b918d25082. Change the hosts file

Linux is usually /etc/host

vi /etc/hosts

Add a line to the bottom of the hosts file

151.101.108.133 raw.githubusercontent.com

Just save it.

Leave a Comment