How to solve: Failed to connect to github.com port 443 after 21098 ms: Timed out
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
When the error message: Failed to connect to github.com port 443 after 21103 ms: Couldn't connect to server appears, it may be because the system proxy is turned on .
At this time, you only need to go to the settings to see what port the system proxy is enabled on?
Then you can set up git as follows:
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890
You will find that you can happily git clone again, and the network speed will soar~
Note: You may need to restart the command line after modifications to take effect.