在.wslconfig設定鏡像網路模式,
[wsl2]
networkingMode=mirrored
啟動時遭遇以下錯誤而無法連接到其他內網主機。
CreateInstance/CreateVm/ConfigureNetworking/0x8007054f
wsl: 無法設定 networkingMode Mirrored 的網络
wsl --shutdown
net stop winnat
net start winnat
sc stop WSLService
參考來源:Error code: CreateInstance/CreateVm/ConfigureNetworking/0x8007054fs
wsl2 — 2026年4月17日
Made with ❤ and at Taiwan.