how to

Vscode cannot connect to remote Linux (_WebSocket close with status code 1006)

Aug 2, 2024
oswindowswslvscode
1 Minutes
64 Words

Vscode cannot connect to remote Linux (_WebSocket close with status code 1006)

??? info “Problem environment”

1
- author: Julyfun MacOS14.5 M1
2
- edited date: 2024-08-02
3
- expected environment: win10, wsl

Details of the problem / Steps to reproduce the error

No details


Best practice

1
wsl --shutdown
2
wsl

I’ve also closed the vscode window that are trying to reconnect wsl. (No need to close all vscode window)

verified on 24.8.2

Article title:Vscode cannot connect to remote Linux (_WebSocket close with status code 1006)
Article author:Julyfun
Release time:Aug 2, 2024
Copyright 2025
Sitemap