Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

curl: (28) Failed to connect to raw.githubusercontent.com port 443: Connection timed out [closed]

I am facing one error while installing FCL-CLI on my system (linux). The command I have used is:

sh -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/master/install.sh)"

Error:

curl: (28) Failed to connect to raw.githubusercontent.com port 443

NEED HELP!

like image 569
Mod Ranjan Avatar asked Dec 01 '25 03:12

Mod Ranjan


1 Answers

Faced the same issue while trying to install nvm on ubuntu. Following steps solved my issue:

1)Open the /etc/hosts file using

                          $ sudo nano /etc/hosts

2)Enter your password.

3)Add the following IP address at the end of the file:

                185.199.108.133 raw.githubusercontent.com

4)Save and close the file.

5)Now Try installing Again.

like image 148
Arif Bashir Dar Avatar answered Dec 02 '25 16:12

Arif Bashir Dar