intellij wsl issues

  1. 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

`wsl –shutdown`

or restart windows.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s