wsl2配置

wsl2 ping不通宿主机

powershell以管理员身份执行,关闭wsl网卡防火墙

1
New-NetFirewallRule -DisplayName "WSL" -Direction Inbound -InterfaceAlias "vEthernet (WSL)" -Action Allow
阅读更多