DevOps/Debugging
VS Code File Read Error - the editor could not be opened due to an unexpected error : unable to read file. unc host access is not allowed please update the 'security.allowedunchosts' setting if you want to allow this host
luvris2
2023. 5. 12. 14:40
반응형
Error
어느순간부터 다른 컴퓨터의 소스 코드 파일을 열지 못한다.
수정하자니 매번 내 컴퓨터로 옮겨와서 소스 코드를 수정하고 다시 옮기는 것이 여간 귀찮다.
해결 방법
- 메뉴 - File - Preferences - Settings
- Security: Allowed UNCHosts 검색 - Add Item
- 에러가 났던 경로 입력
- 특정 아이피의 원격으로 접속하여 VS Code로 실행했던 것이라 나는 아이피만 입력해주었다.
- Restart
- 파일 접근 확인
- 정상적으로 잘 불러와진다!
참고
반응형