First, Ping github.com to test whether it can connect. Then modify the host.
Step 1: open ipaddress.com, query the following two domain names and record their corresponding IP addresses:
1.github.com
2.github.global.ssl.fastly.net
Step 2: update the host file
140.82.114.3 github.com
199.232.69.194 github.global.ssl.fastly.net
Step 3: clean up DNS and try again.
ipconfig /flushdns
Read More:
- [Solved] LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
- [Solved] jedis Connect redis Error: connect timed out
- [Solved] LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
- [Solved] Consul Error: github.com/boltdb/bolt github.com/boltdb/bolt github.com/hashicorp/raft-boltdb
- Git push Failed to connect to localhost port 1080 [How to Solve]
- Git Push Error: failed to push some refs to ‘[email protected]:
- RabbitMQ:address (cannot connect to host/port) [How to Solve]
- Gog cannot link PSN: the connection to the server timed out
- [Solved] Git Run Error: Could not resolve host: github.com
- [Solved] Error: failed to create deliver client: orderer client failed to connect to orderer.example.com:7050
- [Solved] Installing github.com/uudashr/gopkgs/v2/cmd/gopkgs@latest FAILED和cannot install, GOBIN must be an ab
- Cube.js TimeoutError: ResourceRequest timed out problem
- [Solved] Failed to connect to server(code:1006)
- [Solved] Mycat Startup Error: ERROR Startup failed: Timed out waiting for a signal from the JVM
- Failed to connect to driver at XXXXXXx
- IDEA generates Spring Boot project error: error: read timed out
- [Go] Solve can’t load package: cannot find module providing package github.com/xxxxx
- [Solved] Jupyter Kernel error: kernel Cannot Connect—-import win32api; ImportError: DLL load failed…
- [Solved] ambiguous import: found package github.com/spf13/cobra/cobra in multiple modules
- github Error: Logon failed, use ctrl+c to cancel basic credential prompt.