POSTS / WSL2 cannot Ping Host Machine
Published: 2024-02-27
Today I found that ping from WSL2 to host machine gave me a “100% packet loss”.
ping $(hostip)
Refer to
hostip
in #8.
As microsoft/WSL#4139 and microsoft/WSL#4585 saying, Windows Defender Firewall is blocking access from WSL2, so I need to disable that.
One reply to Solution to WSL2 Connection to Windows Problem gives this picture:
Well, it’s pretty better than running some scripts which may not fit the Windows 11 in my laptop.