로딩
요청 처리 중입니다...

VSCode UNC host 접속 오류 해결 방법

 VSCode UNC host 접속 오류 해결 방법

The editor could not be opened due to an unexpected error: Unable to read file '\\서버이름\공유폴더이름\경로\파일이름' (Unknown (FileSystemError): UNC host '서버이름' access is not allowed. Please update the 'security.allowedUNCHosts' setting if you want to allow this host.)

Visual Studio Code에서 파일을 열 때 UNC(Universal Naming Convention) host 접속 오류는 UNC 경로(네트워크 공유)에 접근할 때 보안 설정으로 인해 발생합니다. VSCode는 기본적으로 특정 네트워크 호스트에 대한 접근을 제한하여 보안을 강화합니다.

하지만, 사용자가 신뢰하는 호스트의 경우, 설정을 변경하여 접근을 허용할 수 있습니다. 문제를 해결하는 방법은 다음과 같습니다. 1.

VSCo...

# UNC # VSCode