You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows Firewall block WSL2 accessing to Windows service #5237
changed the title [-]WSL2 can not access windows ip retreived by `ip route | grep default | awk '{print $3}`[/-][+]Windows Firewall block WSL2 accessing to Windows service [/+]on May 23, 2020
I found it due to windows firewall. Add exclude rule of wsl.exe in firewall didn't work, I saw several cases include me had to shutdown firewall to make wsl able to access windows service .
Since this is common usage of wsl2, people shouldn't need shutdown firewall . It is system/wsl resposibility to make wsl2 bypass firewall at default .
Activity
therealkenc commentedon May 20, 2020
There isn't enough to go on here to guess why you can't ping your default route on (if I am interpreting correctly) WSL1.
eromoe commentedon May 21, 2020
I can provide what you need if you tell me how to do , I have totally no clue to investigate it .
[-]WSL2 can not access windows ip retreived by `ip route | grep default | awk '{print $3}`[/-][+]Windows Firewall block WSL2 accessing to Windows service [/+]eromoe commentedon May 23, 2020
I found it due to windows firewall. Add exclude rule of wsl.exe in firewall didn't work, I saw several cases include me had to shutdown firewall to make wsl able to access windows service .
Since this is common usage of wsl2, people shouldn't need shutdown firewall . It is system/wsl resposibility to make wsl2 bypass firewall at default .