오류: Could not establish connection to "SEVERNAME": The VS Code Server failed to start
Could not establish connection to "servername": The VS Code Server failed to start
Remote 서버에 접근하지 못하는 문제가 발생했다.
해결: uninstall established server ctrl + shift + p
1. Ctrl + Shift + P를 눌러 메뉴창을 띄운다
2. > 커서 옆에 'uninstall~'을 쳐서 "Remote-SSH: Uninstall VS Code Server from Host..."를 누른다
3. 접근이 안되는 서버명을 클릭한다.
필요하면 패스워드를 입력한다
따로 창이나 알림 나오는 것이 없지만
원한다면 밑의 OUTPUT 탭에서 실행과정을 볼 수 있다.
이후 다시 Ctrl + SHift + P 하고 >connect를 치거나,
remote server 탭에 들어가서
실패했던 서버에 다시 접속하면 된다.
다시 접속하면 Downloading VS Code Server.. 라면서 다시 처음부터 다운로드 하는 것을 알 수 있다.
Reference
Could not establish connection to "hostname": The VS Code Server failed to start
I looked at the similar questions to mine, and none of them seemed to fix my problem. It returns a prompt that says Could not establish connection to "hostname": The VS Code Server failed...
stackoverflow.com