-
Notifications
You must be signed in to change notification settings - Fork 852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSL2 IPv6 services not exposed on IPv4 #6387
Comments
dupe #4851 |
Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
@therealkenc |
#4851 ( |
Yes, this does appear to be a dupe of #4851. Thank you for the pointer. |
I could not find this issue open anywhere else. There are a lot of localhost services that beat around this issue, but I didn't find one that deals with it directly. I suspect a few of the other tickets would be resolved if this underlying issue were resolved.
Environment
Steps to reproduce
Apache and other services that listen on :: for IPv4 and IPv6 support are not reflected in windows localhost under both IPv6 and IPv4.
Apache normal config of
Listen 80
results in netstat output of:
tcp6 0 0 :::80 :::* LISTEN -
NOTICE THAT THERE IS NO IPv4 LISTEN entry.
Then curl.exe under windows:
However this works:
Changing the Apache config to include:
Means that apache unnecessarily listens on both IPv4 and IPv6 localhost and both ports get forwarded to windows correctly.
I have NOT been able to find an Apache syntax that forces Apache to listen on both IPv4 ANY (0.0.0.0) and IPv6 ANY (::) at the same time.
curl inside the windows instance is able to connect on IPv4 and IPv6 using the default "Listen 80" configuration.
Note: Only port 80 is shown here, but this same issue affects port 443 listeners.
WSL2 should connect IPv4 AND IPv6 forwarding for any WSL2 IPv6 listeners.
The text was updated successfully, but these errors were encountered: