[macOS series] Solve the problem of downloading brew or other dependent packages prompting that the connection timed out

When downloading brew or other dependent packages, it prompts that the connection timed out

Error message:

curl: (7) Failed to connect to [raw.githubusercontent.com](http://raw.githubusercontent.com/) port 443 after 34 ms: Connection refused

Untitled

The easiest way is to modify the DNS: to 114.114.114.114or 8.8.8.8just fine.

How to modify:

Upper right corner - Network - Network Preferences - Advanced:

Untitled

The final effect:

Untitled

If you have difficulties in web front-end development, interviews, and front-end learning routes, you can add me V: imqdcnn. Answer questions for free, and technical experts who have been deep in the industry for many years will help you solve bugs.

I wish you can become an excellent WEB front-end development engineer!

Guess you like

Origin blog.csdn.net/imqdcn/article/details/131559169