Add this code sudo/etc/hosts
below
52.74.223.119 github.com
192.30.253.119 gist.github.com
54.169.195.247 api.github.com
185.199.111.153 assets-cdn.github.com
151.101.76.133 raw.githubusercontent.com
151.101.108.133 user-images.githubusercontent.com
151.101.76.133 gist.githubusercontent.com
151.101.76.133 cloud.githubusercontent.com
151.101.76.133 camo.githubusercontent.com
151.101.76.133 avatars0.githubusercontent.com
151.101.76.133 avatars1.githubusercontent.com
151.101.76.133 avatars2.githubusercontent.com
151.101.76.133 avatars3.githubusercontent.com
151.101.76.133 avatars4.githubusercontent.com
151.101.76.133 avatars5.githubusercontent.com
151.101.76.133 avatars6.githubusercontent.com
151.101.76.133 avatars7.githubusercontent.com
151.101.76.133 avatars8.githubusercontent.com
Read More:
- How to solve problems like curl: (7) failed to connect to raw.githubusercontent.com Port 443: problem with connection used
- Solve the MAC terminal download error curl: (7) failed to connect to raw.githubusercontent.com port 443: Connection refused
- curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
- Error in installing RVM on MacOS raw.githubusercontent.com:443 Connection failure resolution
- Problem solving: failed to connect to github.com port 443: Operation timed out(2020.06.04)
- pycharm Failed to connect to github.com port 443: Timed out
- Push failed Unable to access ‘https://github.com/‘: Failed to connect to github.com port 443: Timed
- Gt Report Error ssh:connect to host github.com port 22
- [Linux] curl: (7) failed to connect to 127.0.0.1 port 1086: connection reused solution
- RTMP_Connect0, failed to connect socket. 110 (Connection timed out)
- Ubuntu 20.04 GPG: KeyServer receive failed: connection timed out when installing ROS configuration key
- JDBC connect to Sql Server to connect to the database–The TCP/IP connection to the host localhost, port 1433 has failed
- A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
- Failed connect to github.com:443 ; no error and the remote end hung up unexpectedly
- Failed to connect to ESP32: Timed out waiting for packet header
- A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
- fatal: unable to access ‘https://github.com/xxx‘: Failed to connect to github.com
- ubuntu-how to solve the error-Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release
- Solution to UBI partman failed with code 141 when installing Ubuntu
- curl: (7) Failed connect to localhost:9200; Connection refused