Skip to content

wsl: 检测到 localhost 代理配置,但未镜像到 WSL。NAT 模式下的 WSL 不支持 localhost 代理。 #10753

Closed

Description

Windows Version

Microsoft Windows [版本 10.0.22621.2506]

WSL Version

2.0.9.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.133.1-1

Distro Version

Ubuntu 22.04

Other Software

No response

Repro Steps

Thanks for your work about wsl.
Firstly, I have tried some updates about "networkingMode=mirrored", but failed. My system version is 22H2 which is not "Release Preview Channel".
So, I delete .wslconfig file.
Finally, when I start new terminal, I see "wsl: 检测到 localhost 代理配置,但未镜像到 WSL。NAT 模式下的 WSL 不支持 localhost 代理。" on the terminal.
The key point is "Release Preview Channel" is requisite for mirrored network in wsl2 ?

Expected Behavior

wsl2 can be visited by other machine in local area network.

Actual Behavior

wsl2 can not be visited by other machine in local area network.

Diagnostic Logs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions