foreword
I wanted to deploy docker on win11, so I found wsl, but when I installed it on powershell, I always reported an error that the name or address of the server could not be resolved.
The general solution for surfing the Internet is to manually modify the DNS 114.114. error.
During a certain surfing, it was found that the above error was due to the inaccessibility of raw.githubusercontent.com, so manually added hosts, and the problem was solved.
solution
- Open https://site.ip138.com/raw.Githubusercontent.com/ to view the following IP, copy one, and ping it to see if it works. If it doesn’t work, use the other pings below.
- Modify hosts
You're done!