# Error: Connection to Cursor server failed: Failed to connect to Cursor server from Windows. (When conect to WSL)

**URL:** <https://forum.cursor.com/t/error-connection-to-cursor-server-failed-failed-to-connect-to-cursor-server-from-windows-when-conect-to-wsl/102695>\
**Category:** Bug Reports\
**Created:** [June 11, 2025, 8:36am UTC](https://forum.cursor.com/t/error-connection-to-cursor-server-failed-failed-to-connect-to-cursor-server-from-windows-when-conect-to-wsl/102695 "2025-06-11T08:36:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vanthinhit310](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/vanthinhit310/32/62819_2.png) [@vanthinhit310](https://forum.cursor.com/u/vanthinhit310)\
**Post date:** [June 11, 2025, 8:36am UTC](https://forum.cursor.com/t/error-connection-to-cursor-server-failed-failed-to-connect-to-cursor-server-from-windows-when-conect-to-wsl/102695/1 "2025-06-11T08:36:57Z")

</div>

![image](https://us1.discourse-cdn.com/cursor1/original/3X/d/2/d2c15f964a71407506e95c4872dba8383769c28f.png)

Os: Windows 11  
Cursor version: 1.0.1

Hi Cursor team,

I want to connect to WSL to develop a project using Docker, but when I use the **Remote - WSL** extension to connect to WSL, I receive the following message:

**“Connection to Cursor server failed: Failed to connect to Cursor server from Windows. Please try rebooting WSL by running ‘wsl -d Ubuntu --shutdown’ and then reconnect.”**

I have tried shutting down WSL as instructed and reconnecting, but the issue still persists.

What should I do to resolve this?

---

<div class="post-metadata">

**Author:** ![ravirahman](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ravirahman/32/20386_2.png) [@ravirahman](https://forum.cursor.com/u/ravirahman)\
**Post date:** [June 12, 2025, 4:22am UTC](https://forum.cursor.com/t/error-connection-to-cursor-server-failed-failed-to-connect-to-cursor-server-from-windows-when-conect-to-wsl/102695/3 "2025-06-12T04:22:36Z")

</div>

Hi @vanthinhit310, could you check your WSL config? We require localhost forwarding to be enabled. See [VSCode Server on WSL Fails with Download checksum: undefined Error - #10 by AuroraMaster](https://forum.cursor.com/t/vscode-server-on-wsl-fails-with-download-checksum-undefined-error/96165/10).

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [July 12, 2025, 4:23am UTC](https://forum.cursor.com/t/error-connection-to-cursor-server-failed-failed-to-connect-to-cursor-server-from-windows-when-conect-to-wsl/102695/4 "2025-07-12T04:23:34Z")

</div>

Closed on July 12, 2025, 4:23am UTC

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