萌新想在 VS Code 中使用 WSL 的 Ubuntu
vscode吧
全部回复
仅看楼主
level 3
CataTtrophe
楼主
主要问题是Failed to connect to the remote extension host server (Error: WebSocket close with status code 1006)。楼下细说
2025年12月25日 08点12分
1
level 3
CataTtrophe
楼主
尝试过以下方法:①完全删除wsl、ubuntu、VScode及其配置,重装,失败。
2025年12月25日 08点12分
2
level 3
CataTtrophe
楼主
②csdn中查到的在.wslconfig中指定物理网卡,避免用无线网卡:[wsl2] networkingMode=bridged vmSwitch=WSL桥接。但是在“Hyper-V虚拟交换机管理器”中创建桥接交换机时出现了这种情况,未能解决
2025年12月25日 08点12分
3
CataTtrophe
虽然未成功配置,但是解决了Failed to connect to the remote extension host server (Error: WebSocket close with status code 1006,不过进入后Ubuntu无法联网
2025年12月25日 08点12分
level 1
btsd321
如果你是ubuntu18需要用低版本的vscode才能打开我记得好像需要1.82左右
2025年12月25日 11点12分
5
level 1
btsd321
ubuntu18的glibc版本低,比较新版本vscode远程它需要高版本的glibc
2025年12月25日 11点12分
6
1