Closed
Description
Version
Microsoft Windows [版本 10.0.22543.1000]
WSL Version
- WSL 2WSL 1
Kernel Version
5.10.81.1
Distro Version
No response
Other Software
No response
Repro Steps
wsl.exe --list --online
无法解析服务器的名称或地址
Expected Behavior
Actual Behavior
I got this error when list linux version use wsl --list --online
Diagnostic Logs
No response
Activity
craigloewen-msft commentedon Feb 8, 2022
@equation-group please see our Code of Conduct for interacting with users on this repo.
craigloewen-msft commentedon Feb 8, 2022
This seems like an internet connection issue from what you posted, can you please check your network connection and provide logs?
/logs
ghost commentedon Feb 8, 2022
Hello! Could you please provide more logs to help us better diagnose your issue? You can find instructions on how to attach logs here, please make sure to post the link to the Feedback Hub item in this chat so we can see it.
Thank you!
ghost commentedon Feb 15, 2022
This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it.
Thank you!
shuohao commentedon May 23, 2022
i have same issue.
shuohao commentedon May 23, 2022
老哥 你的解决了吗 我遇到一样的问题
dbgee commentedon Sep 23, 2022
same issue
qinshuze commentedon Sep 24, 2022
我遇到了同样的问题,这似乎是DNS引起的,在我修改了DNS之后,该问题得到解决

qingyun2016 commentedon Sep 24, 2022
qingyun2016 commentedon Sep 24, 2022
统一回复下如何解决方案:
2.接下来从查到的4个地址,在你电脑上ping 查到的地址 -t,看哪个地址能连接上
3.然后再将这个ping通的这个地址配置的你的hosts文件当中:添加“185.199.108.133(我这里这个地址能ping通,你们的填自己能ping通的) raw.githubusercontent.com”就可以了:
wufeng87 commentedon Apr 3, 2023
谢谢分享 开启wsl2
删除appdata下所有Docker目录,然后重启应用就好了
yuanshun-guo commentedon Jul 7, 2023
You can access it by connecting to the VPN, I have resolved it
bGZo commentedon May 24, 2024
TL;DR: Go
ms-settings:network-proxy
我试了
export http_proxy
,$env:http_proxy
,Proxifier
,全都没用,最后发现设置一下系统代理就能 install,OMG, So mess window is!mydaoyuan commentedon Jun 7, 2024
china shit network
javascripet commentedon Jan 19, 2025
垃圾ccp这也封那也封
Darrenpig commentedon Jan 19, 2025
解决了,兄弟们。修改代理(其实不算是被墙,准确来说是域名污染,就像访问GIthub可以直接改host一样)
Clash配置问题,之前由于图省事放弃了winget,打开微软商店,也是调试了半天(Clash里关闭了系统模式)
这个是前后的对比图打印
具体实现步骤:
1.打开 Clash
2.修改 Clash 系统代理【system proxy】
再次打开cmd,输入wsl.exe --list --online 即可,看见前面的打印