VS Code server for WSL closed unexpectedly check WSL terminal for more details

    科技2022-08-14  142

    问题

    如图: 图片来自:https://blog.csdn.net/weixin_45485719/article/details/104542698 和 cmd 界面提示:

    PS C:\WINDOWS\system32> wsl 参考的对象类型不支持尝试的操作

    解决

    参考:https://blog.csdn.net/x356982611/article/details/108422428

    使用管理员权限打开powershell 然后执行下面的语句重置网络就可以了

    netsh winsock reset

    然后重启启动,,就好了

    博客地址

    https://joakimstarr.gitee.io/

    Processed: 0.009, SQL: 8