> For the complete documentation index, see [llms.txt](https://doc.gccglc.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.gccglc.com/new-macbook-setting-problems-and-solutions.md).

# New Macbook setting Problems and Solutions

This is a page containing the problems I met and solutions I found while setting my new macbook pro.

1. while installing homebrew, I encounted this error.

fatal: unable to access '<https://github.com/Homebrew/brew/>': Failed to connect to github.com port 443 after 75032 ms: Couldn't connect to server

Since I am in China mainland, I have no access to the website of <https://www.github.com>. I was using VPN to visit the overseas sites.&#x20;

I found this solution and it helped.

<figure><img src="https://2581966533-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fswm9yfPGlOceKWEDI81f%2Fuploads%2F8vjIthw2PIyYzQI0FIhK%2Fimage.png?alt=media&amp;token=77c8332a-0d01-423f-a9fe-903afded59ea" alt=""><figcaption></figcaption></figure>

What I had to do is just running the following two commands.

```
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890
```
