OS/Windows

[vscode] vscode에서 wsl.host access not allow 에러 출력.

카슈밀 2023. 6. 21. 09:57
반응형

원인은  Allowed UNCHosts로 추측된다.

 

그런데, 누구는 vscode 내 setting에 검색해서  Allowed UNCHosts로 검색해서 ip주소만 입력하면된다는데,

난 ip로 접속하는 게 아니라 vscode로 접속하는지라 특정 ip주소로 접근이 불가능해서 적용이 되지 않았다.

 

찾다보니 wsl에서 .vscode-server 폴더를 삭제하라는 글을 발견했다.

해당 내용 삭제하니 정상작동되더라.

https://stackoverflow.com/a/74890383

 

VSCode | The editor cannot be opened due to an unexpected error

Goal: Get regular Bash and Git in Terminal working for Python projects in Visual Studio Code. Anytime I launch, I see this error. I cannot open code or use Terminal. Error Message: The editor cann...

stackoverflow.com

 

728x90