User Tools

Site Tools


wsl

Differences

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

Link to this comparison view

Next revision
Previous revision
wsl [2021/03/30 13:44] – created ssm2017wsl [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.1617104648.txt.gz · Last modified: (external edit)