Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while installing WSL for windows 11 [closed]

when i run the command on administrator settings on my windows 11

wsl --install

it shows me the following error

a connection with the server could not be established

I searched youtube too for the fixes but none worked

like image 617
Prabhat Verma Avatar asked Jun 10 '26 16:06

Prabhat Verma


1 Answers

Hi I was having same error. I am Indian using Jio Fiber. I connected to VPN to solve the error. It seems that Jio prevents connection to certain url such as https://raw.githubusercontent.com/microsoft/WSL/master/distributions/DistributionInfo.json which are needed for wsl linux installation. You can check by trying to open above link in chrome and running network diagnostics. Basically the above url gets called at the end when you do wsl --install.

like image 137
Mohammad Shahwez Avatar answered Jun 14 '26 03:06

Mohammad Shahwez