I have installed WSL2 on my Windows 10, but I would like to set up a .wslconfig file in my C:\Users\username folder, with the following instructions:
[wsl2] localhostForwarding=true
I have tried to create a notepad, putting the above in and saving the file as .wslconfig. However, it is still being read as a .txt file rather than .wslconfig. This was the instruction on how to create a .wslconfig file that I read online.
I added a .ini extension, doesn't seem to be detected.
I have tried to find what the error might be. I looked at https://github.com/microsoft/WSL/issues/5170 I am build 19043