-
Notifications
You must be signed in to change notification settings - Fork 388
Open
Description
I've been playing around WSL2 for a while, and after some research I found one big problem:
It seems that by default WSL2 doesn't forward localhost. So anyone willing to play with docker containers or servers inside WSL2, will need to forward localhost with
localhostForwarding=true
Within the .wslconfig.
But the problem is that this forwarding is done via ipv6 not ipv4, so basically we can reach the ipv6 localhost within WSL2 failing to do this when we bind to 127.0.0.1.
CLI by default, binds to 127.0.0.1, the only way to bypass this is going with --site-url on run, but unless it's not possible due to some technical constraints, being able to run playground straight out of the box in WSL2 will be a good relief.
Metadata
Metadata
Assignees
Labels
No labels