1. Problem description
time: Thursday, June 4, 2020 15:19:26
today, when I was using
git push original master
command, the following error occurred suddenly:
why wouldFailed to connect to github.com port 443: Operation timed out
, previously I could push to the far end of GitHub
2. Solution
toss around for a long time, found a solution
enter the command sudo vim /etc/hosts
on the terminal (you must use sudo, as the administrator, or you cannot modify the hosts file)
, comment out the lines related to Github, save the hosts file, and then you can push to the remote Github
0
1 2
Saturday, June 13, 2020 18:14:30 update
if you comment out all GitHub related content, you may have a problem accessing GitHub images will not load, the solution please move to here
Read More:
- pycharm Failed to connect to github.com port 443: Timed out
- Push failed Unable to access ‘https://github.com/‘: Failed to connect to github.com port 443: Timed
- Ubuntu20.04 installing RVM error curl: (7) failed to connect to raw.githubusercontent.com port 443: Operation timed
- Gt Report Error ssh:connect to host github.com port 22
- How to solve problems like curl: (7) failed to connect to raw.githubusercontent.com Port 443: problem with connection used
- fatal: unable to access ‘https://github.com/xxx‘: Failed to connect to github.com
- Failed to connect to 127.0.0.1 port 43571: problem solving record
- RTMP_Connect0, failed to connect socket. 110 (Connection timed out)
- Failed to connect to ESP32: Timed out waiting for packet header
- Failed connect to github.com:443 ; no error and the remote end hung up unexpectedly
- A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
- A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
- Solve the MAC terminal download error curl: (7) failed to connect to raw.githubusercontent.com port 443: Connection refused
- curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
- Sync with Gradle for project ‘XXXX‘ failed: Connection timed out: connect
- Git clone appears fatal: unable to access’ https://github.com/… The solution to the problem
- mysql problem solving: mysqladmin: connect to server at’localhost’ failed
- Problem solving: PDF cannot be opened, and acrobat failed to connect to a DDE server appears
- Git failed to submit data error: failed to push some refs to’https://github.com/XXXXXXX/gif.git’
- OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443