How to access the windows subsystem for linux 2 filesystem from another computer?

Viewed 2730

I know that I can access the wsl2 filesystem by just opening \\wsl$ on the local computer. Can I somehow expose this to another computer in the same network? The goal is to just have a network drive on a remote computer where I drop files to copy them directly to wsl2.

EDIT: While it is not exactly what I wanted, I just noticed I can run a FTP server inside wsl2 and just transfer files in and out that way. I am still leaving the question open though as there might be a simpler solution to this.

2 Answers

You can find your home folder of wsl on c drive (its in AppData) and use ordinary windows folder sharing.

Related