- there is an issue when running the projects out of WSL, intellij website got some explanation for this issue, but unfortuantelly it’s not completely right
while the first step to enable traffic for WSL is right
New-NetFirewallRule -DisplayName "WSL" -Direction Inbound -InterfaceAlias "vEthernet (WSL)" -Action Allow
the second step to enable intellij is not
in the end, what i have done is to open the inbound rules for windows firewall advanced settings, and mannually grant the permission for the newest idea.exe
2. another problem is when intellij runs the application, it failed for accessing the WSL folders, something like
to solve that, is basically restart the intellij, wsl, and recreate new folders.
wsl could be restarted either through
wsl --terminate or
or restart windows.