xxxxxxxxxx
No network connection in any distribution under WSL 2:
Open Powershell or Cmd as Administrator
and run each of these commands:
wsl --shutdown
netsh winsock reset
netsh int ip reset all
netsh winhttp reset proxy
ipconfig /flushdns
Hit the Windows Key,
type Network Reset,
hit enter.
You should see a window,
click "Reset now".
Restart Windows.