You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wsl2 does not (yet?) support IPv6. This means when a service like apache opens a listening port on the IPv6 ANY interface, these connections are not forwarded through the WSL2 system. Only IPv4 listening addresses are forwarded. I add this to my .bashrc currently which works around the issue by disabling ipv6. The default WSL2 kernel has IPv6 enabled, but the default WSL2 networking does not route IPv6. I don't know why this is. This is a hack, but it's a working hack.
Feel free to adapt to your root startup. This could get added to /etc/sysctl.d/something.conf and then startup sysctl on "boot" for a more complete solution that would handle other sysctl settings.
The text was updated successfully, but these errors were encountered:
wsl2 does not (yet?) support IPv6. This means when a service like apache opens a listening port on the IPv6 ANY interface, these connections are not forwarded through the WSL2 system. Only IPv4 listening addresses are forwarded. I add this to my .bashrc currently which works around the issue by disabling ipv6. The default WSL2 kernel has IPv6 enabled, but the default WSL2 networking does not route IPv6. I don't know why this is. This is a hack, but it's a working hack.
Feel free to adapt to your root startup. This could get added to /etc/sysctl.d/something.conf and then startup sysctl on "boot" for a more complete solution that would handle other sysctl settings.
The text was updated successfully, but these errors were encountered: