WSL2镜像网络的相关问题与解决方案

1,158 阅读1分钟

networkingMode=mirrored下, 无法在windows下用localhost访问wsl2,在experimantal中加上hostAddressLoopback=true

[experimental]
networkingMode=mirrored
dnsTunneling=true
firewall=true
autoProxy=true
hostAddressLoopback=true
useWindowsDnsCache=true