User Tools

Site Tools


wsl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wsl [2022/02/07 13:29] – external edit 127.0.0.1wsl [2023/01/13 12:01] (current) ssm2017
Line 8: Line 8:
 </sxh> </sxh>
 redirect the port 3000 to wsl2 address 172.30.16.3 (ip addr) redirect the port 3000 to wsl2 address 172.30.16.3 (ip addr)
 +
 +need to create a firewall rule :
 +<sxh>
 +netsh advfirewall firewall add rule name= "Open Port 3000" dir=in action=allow protocol=TCP localport=3000
 +</sxh>
 +
 +===== memory leak =====
 +To prevent memory leak :
 +
 +/mnt/c/Users/myuser/.wslconfig
 +<sxh>
 +[wsl2]
 +memory=2GB
 +</sxh>
wsl.1644236960.txt.gz · Last modified: by 127.0.0.1