Closed John-zhan closed 2 months ago
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
Please 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!
networkingMode=mirrored
doesn't apply to wsl2 (#11228), similarity score: 0.72Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Logs are required for review from WSL team
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
How to collect WSL logs Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1 Set-ExecutionPolicy Bypass -Scope Process -Force .\collect-wsl-logs.ps1
The script will output the path of the log file once done.
If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here
Once completed please upload the output files to this Github issue.
Click here for more info on logging If you choose to email these logs instead of attaching to the bug, please send them to wsl-gh-logs@microsoft.com with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.
View similar issues
Please 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:
- windows11 wsl2,The WSL_PAC_URL configuration does not take effect (#11998), similarity score: 0.72
Closed similar issues:
- autoProxy=true doesn't works well on WSL2 preview 2.0.3.0 (#10583), similarity score: 0.73
- config
networkingMode=mirrored
doesn't apply to wsl2 (#11228), similarity score: 0.72- WSL2 cannot connect to localhost when the service is running on Windows (#5211), similarity score: 0.72
- WSL cannot use proxy with networkingMode=mirrored (#10794), similarity score: 0.71
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
/question
Closing since there's no clear repro instructions.
Windows Version
OS 名称: Microsoft Windows 11 专业版 OS 版本: 10.0.22631 暂缺 Build 22631
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-2
Distro Version
Ubuntu-22.04
Other Software
No response
Repro Steps
set the windows internet proxy localhost:port. then u will get this problem. what important most is I want wsl use my windows http proxy.
Expected Behavior
wsl use my windows http proxy.
Actual Behavior
when I open wsl, it will prompt this below. wsl: 检测到 localhost 代理配置,但未镜像到 WSL。NAT 模式下的 WSL 不支持 localhost 代理。
Diagnostic Logs
No response