Skip to content

Instantly share code, notes, and snippets.

@aldy505
Created December 14, 2021 04:16
Show Gist options
  • Save aldy505/a69d8a47c28792348e65c7c10259c1cf to your computer and use it in GitHub Desktop.
Save aldy505/a69d8a47c28792348e65c7c10259c1cf to your computer and use it in GitHub Desktop.
Dropping in here in case there's another error on networking in my WSL2
# Shutdown WSL first
wsl --shutdown --verbose
# Check it with list
wsl --list --verbose
# Open Powershell in administrator mode, then do:
New-NetFirewallRule -DisplayName "WSL" -Direction Inbound -InterfaceAlias "vEthernet (WSL)" -Action Allow
Get-Service LxssManager | Restart-Service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment