# WSL - connection to cursor server failed

**URL:** <https://forum.cursor.com/t/wsl-connection-to-cursor-server-failed/152258>\
**Category:** Bug Reports\
**Tags:** windows, wsl, ssh\
**Created:** [February 19, 2026, 8:35am UTC](https://forum.cursor.com/t/wsl-connection-to-cursor-server-failed/152258 "2026-02-19T08:35:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mtlat](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@mtlat](https://forum.cursor.com/u/mtlat)\
**Post date:** [February 19, 2026, 8:35am UTC](https://forum.cursor.com/t/wsl-connection-to-cursor-server-failed/152258/1 "2026-02-19T08:35:40Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

Connection to Cursor server failed: [wsl exec: installServerScript] Command failed with exit code 4294967295: stdout: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.  
Error code: Wsl/Service/0x8007274c

### Steps to Reproduce

open Cursor IDE, wait.

### Operating System

Windows 10/11

### Version Information

2.5.17 (user setup)

### Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

This seems to be related to running docker containers.

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [February 19, 2026, 8:54am UTC](https://forum.cursor.com/t/wsl-connection-to-cursor-server-failed/152258/4 "2026-02-19T08:54:08Z")

</div>

Hey, thanks for the report. Error `0x8007274c` is a Windows socket timeout. The WSL process stops responding, and Cursor can’t reach its server. The Docker connection you mentioned is a good clue, since Docker Desktop and WSL together can quietly hit resource limits.

Try these steps in order:

1. In PowerShell, run `wsl --shutdown`, then reopen Cursor
2. Create or edit `C:\Users\<username>\.wslconfig` to increase resource limits:

```auto
[wsl2]
memory=8GB
processors=4

```

Then restart WSL with `wsl --shutdown`. This is especially important if you run Docker containers at the same time as Cursor.
3. Update WSL: `wsl --update`
4. Inside WSL, remove Cursor’s server files: `rm -rf ~/.cursor-server`, then reconnect from Cursor

A couple questions to narrow it down:

- Which WSL distro are you using?
- How many Docker containers are usually running when this happens?
- What does `wsl --version` show in PowerShell?

A similar issue is described here: [Cursor fails after some time when using WSL](https://forum.cursor.com/t/cursor-fails-after-some-time-when-using-wsl/151877)

Let me know if any of these steps helped.

---

<div class="post-metadata">

**Author:** ![mtlat](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@mtlat](https://forum.cursor.com/u/mtlat)\
**Post date:** [February 19, 2026, 9:28am UTC](https://forum.cursor.com/t/wsl-connection-to-cursor-server-failed/152258/5 "2026-02-19T09:28:52Z")

</div>

Thank you for your answer @deanrie.  
I have followed your steps and for now it seems stable again.

I additionally updated and cleaned up my docker. Removed images, containers etc.

I use only one container at the same time.

my wsl version:

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/4/1/414be06907223f09d6ab1c5664bd6fd8c20e016a.png)

also the –update did not install a newer version:

![image](https://us1.discourse-cdn.com/cursor1/original/3X/e/c/ec8eeb5ef587bb170fac524ca5a86153720e4113.png)

I am running ubuntu wsl version 2:

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

and I am not on the latest ubuntu, I could/should update that:

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/6/c/6ca5cf7c9fabbd2441e09b169b21673e83d09162.png)

but for now, things look stable agian. Thank you!

---

<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:** [March 13, 2026, 9:29am UTC](https://forum.cursor.com/t/wsl-connection-to-cursor-server-failed/152258/7 "2026-03-13T09:29:07Z")

</div>

Closed on March 13, 2026, 9:29am UTC

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