Login

How to solve the problem of connecting to gethub: Failed to connect to github.com port 443

Author:neo yang Time:2024/01/27 Read: 7783
Problem I have been having this problem in the past few days: Failed to connect to github.com port 44 […]

question

I've been having this problem for the past few days:

Failed to connect to github.com port 443

Solution

Set the global proxy for get:

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

that's it.

appendix

Commands to view and modify git configuration:

git config --global --edit

Command to clear git agent:

git config --global --unset http.proxy


copyright © www.lyustu.com all rights reserved.
Theme: TheMoon V3.0. Author:neo yang