WSL 2 Quick Fix
As is a well-known fact, Windows WSL 2 is not stable enough. Especially, you have taken some strange settings about your Network. Here I will give out a common way to fix the WSL2 errors, such as '0xffffffff' or something else.
Method 1: Netsh
Input netsh.exe winsock reset
in the powershell with
administractor permission.
Method 2: Automatic scan and fix
Input sfc /scannow
in the powershell is okay.
WSL 2 Quick Fix
http://blog.chivier.site/2020-09-29/2021/WSL2-Quick-Fix/