# Can not Connect to WSL

**URL:** <https://forum.cursor.com/t/can-not-connect-to-wsl/1995>\
**Category:** Bug Reports\
**Created:** [December 8, 2023, 1:05pm UTC](https://forum.cursor.com/t/can-not-connect-to-wsl/1995 "2023-12-08T13:05:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hytdsh](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@hytdsh](https://forum.cursor.com/u/hytdsh)\
**Post date:** [December 8, 2023, 1:05pm UTC](https://forum.cursor.com/t/can-not-connect-to-wsl/1995/1 "2023-12-08T13:05:11Z")

</div>

Can not Connect to WSL.

Cursor Version

```auto
Version: 0.18.5
VSCode Version: 1.84.2
Commit: 23e4a35b958128d799597f309a7f42dd50d007c0
Date: 2023-12-06T02:52:23.651Z
Electron: 25.9.2
ElectronBuildId: undefined
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.19045

```

Terminal log

```auto
[2023-12-08 12:43:10.067] Extension version: 0.81.8
[2023-12-08 12:43:10.068] L10N bundle: undefined
[2023-12-08 12:43:10.085] authorityHierarchy: wsl+Ubuntu
[2023-12-08 12:43:10.085] WSL extension activating for a local WSL instance
[2023-12-08 12:43:10.104] Resolving wsl+Ubuntu, resolveAttempt: 1
[2023-12-08 12:43:10.108] WSL feature installed: true (dll path)
[2023-12-08 12:43:10.109] NodeExecServer run: C:\WINDOWS\System32\wsl.exe --list --verbose
[2023-12-08 12:43:10.257] 3 distros found
[2023-12-08 12:43:10.258] Starting VS Code Server inside WSL (wsl2)
[2023-12-08 12:43:10.258] Windows build: 19045. Multi distro support: available. WSL path support: enabled
[2023-12-08 12:43:10.258] Scriptless setup: false
[2023-12-08 12:43:10.259] No shell environment set or found for current distro.
[2023-12-08 12:43:10.465] WSL daemon log file: 
[2023-12-08 12:43:10.468] Probing if server is already installed: if [-d ~/.cursor-server/bin/23e4a35b958128d799597f309a7f42dd50d007c0]; then printf 'install-found '; fi; if [-f /etc/alpine-release]; then printf alpine-; fi; uname -m
[2023-12-08 12:43:10.469] NodeExecServer run: C:\WINDOWS\System32\wsl.exe -d Ubuntu -e sh -c if [-d ~/.cursor-server/bin/23e4a35b958128d799597f309a7f42dd50d007c0]; then printf 'install-found '; fi; if [-f /etc/alpine-release]; then printf alpine-; fi; uname -m
[2023-12-08 12:43:10.706] Probing result: x86_64
[2023-12-08 12:43:10.706] No server install found in WSL, needs linux-x64
[2023-12-08 12:43:10.706] Getting server from client side
[2023-12-08 12:43:10.710] Server available at 
[2023-12-08 12:43:10.711] NodeExecServer run: C:\WINDOWS\System32\wsl.exe -d Ubuntu sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" 23e4a35b958128d799597f309a7f42dd50d007c0 stable cursor-server .cursor-server --host=127.0.0.1 --port=0 --connection-token=3941213226-503806366-2499966263-1306223737 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --telemetry-level=all'
[2023-12-08 12:43:11.021] Setting up server environment: Looking for /home/hytdsh/.cursor-server/server-env-setup. Not found.
[2023-12-08 12:43:11.021] WSL version: 5.15.133.1-microsoft-standard-WSL2 Ubuntu
[2023-12-08 12:43:11.021] Installing VS Code Server for x64 (23e4a35b958128d799597f309a7f42dd50d007c0)
[2023-12-08 12:43:11.021] Downloading:     
[2023-12-08 12:43:11.258] 100%
[2023-12-08 12:43:11.258] Failed
[2023-12-08 12:43:11.260] --2023-12-08 21:43:11-- https://update.code.visualstudio.com/commit:23e4a35b958128d799597f309a7f42dd50d007c0/server-linux-x64/stable
[2023-12-08 12:43:11.260] Resolving update.code.visualstudio.com (update.code.visualstudio.com)... 13.107.246.46, 13.107.213.46, 2620:1ec:46::46, ...
[2023-12-08 12:43:11.260] Connecting to update.code.visualstudio.com (update.code.visualstudio.com)|13.107.246.46|:443... connected.
[2023-12-08 12:43:11.260] HTTP request sent, awaiting response... 404 Not Found
[2023-12-08 12:43:11.260] 2023-12-08 21:43:11 ERROR 404: Not Found.
[2023-12-08 12:43:11.260] 
[2023-12-08 12:43:11.260] ERROR: Failed to download https://update.code.visualstudio.com/commit:23e4a35b958128d799597f309a7f42dd50d007c0/server-linux-x64/stable to /home/hytdsh/.cursor-server/bin/23e4a35b958128d799597f309a7f42dd50d007c0-1702039390.tar.gz
[2023-12-08 12:43:11.260] For help with startup problems, go to https://code.visualstudio.com/docs/remote/troubleshooting#_wsl-tips

```

 ![image](https://us1.discourse-cdn.com/cursor1/original/1X/20107f5d2b156fa4174ffe3b04f7e994027379a8.png)

---

<div class="post-metadata">

**Author:** ![lvhao](https://avatars.discourse-cdn.com/v4/letter/l/b3f665/32.png) [@lvhao](https://forum.cursor.com/u/lvhao)\
**Post date:** [December 16, 2023, 7:33am UTC](https://forum.cursor.com/t/can-not-connect-to-wsl/1995/2 "2023-12-16T07:33:53Z")

</div>

same issue.

---

<div class="post-metadata">

**Author:** ![Jakob](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/jakob/32/93_2.png) [@Jakob](https://forum.cursor.com/u/Jakob)\
**Post date:** [January 9, 2024, 1:19pm UTC](https://forum.cursor.com/t/can-not-connect-to-wsl/1995/3 "2024-01-09T13:19:43Z")

</div>

[Update 0.22.0](https://changelog.cursor.sh/#0220---dev-containers) has some WSL fixes. Do they fix your issues?

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/127254_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [December 21, 2025, 8:59am UTC](https://forum.cursor.com/t/can-not-connect-to-wsl/1995/4 "2025-12-21T08:59:00Z")

</div>

Closed on December 21, 2025, 8:59am UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
