-
Notifications
You must be signed in to change notification settings - Fork 1.3k
port forwarding not working #11599
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
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The scipt will output the path of the log file once done. Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
|
the WSL logs has been submit via Feedback hub, the link is: https://aka.ms/AAqhhv5 |
@localvar: Can you share repro instructions ? We need to reproduce the issue to understand its root cause |
I don't know the exact instructions to reproduce the issue, as I don't aware it will cause an issue before I encounter the issue. A possible cause is the host port was already occupied by another application, because after I change the guest port from 1313 to 2323, the issue resolved (however, I tried |
Thank you. I'll close this issue for now since it doesn't have clear repro instructions. Feel free to reopen if you find a way to reproduce this that we could try. |
Windows Version
Microsoft Windows [Version 10.0.22631.3593]
WSL Version
2.1.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.146.1-microsoft-standard-WSL2 (root@65c757a075e2)
Distro Version
Ubuntu 24.04
Other Software
Visual Studio Code: 1.89.1
Repro Steps
actually, I don't know the exact steps to reproduce the issue, everything works fine yesterday but stops work today, I think all I have done is shutdown my computer yesterday and restart it today.
I can ping my distro from windows successfully, but when I try to connect the forwarded port (1313, opened by hugo), it says: connection refused.
I tried to turn off the windows defender firewall, I also tried reset all the network, but the issue still there.
Expected Behavior
connect forwarded port successfully.
Actual Behavior
connection refused.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: