I. Introduction
Github personal blog encountered problems in the construction.
2. Problem description
Problem code:
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
Three. Solution
Through the IPAddress.com homepage, enter raw.githubusercontent.com to find the real IP address:
- Windows system:
hosts file path:
Additional content:c:/windows/system32/drivers/etc/
After changing and saving in the administrator mode, restart the computer.199.232.68.133 raw.githubusercontent.com
- Mac OS system:
Open the terminal (Terminal), the default location is the launcher -> Others ->
Terminal Enter the following command in the terminal:sudo vi /etc/hosts
Also append content at the end:i 修改
199.232.68.133 raw.githubusercontent.com
OK.:wq