You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在Windows PowerShell中列出WSL可用发行版?及执行命令报错的问题求助

如何在Windows PowerShell中列出WSL可用发行版?及执行命令报错的问题求助

大家好,我刚从微软商店安装了WSL,现在想查看可安装的在线发行版列表,于是在PowerShell里执行了这条命令:

wsl.exe --list --online

结果却遇到了报错,具体错误内容如下:

Failed to fetch the list distribution from 'https://raw.githubusercontent.com/microsoft/WSL/master/distributions/DistributionInfo.json'. A connection with the server could not be established Error code: Wsl/WININET_E_CANNOT_CONNECT

[报错信息截图](screenshot of error message)

有没有大佬能帮忙分析下这个问题该怎么解决呀?

备注:内容来源于stack exchange,提问作者Biswajeet Padhi

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.23 07:22:57