Could not establish connection to 192.168.x.x DownloadingVS code Server failed please install either

Posted lyz_fish

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Could not establish connection to 192.168.x.x DownloadingVS code Server failed please install either相关的知识,希望对你有一定的参考价值。

Could not establish connection to 192.168.x.x DownloadingVS code Server failed please install either curl or wget on the remote.

最近科研压力偏大,简单的写一下解决方法。
在server的用户目录下:找到.vscode-server文件,并进入文件夹下,cd /cluster/home/user/.vscode-server/

然后查看该文件夹下的文件。

ls

接下来。下载server插件:
wget --tries=1 --connect-timeout=7 --dns-timeout=7 -nv -O vscode-server.tar.gz https://update.code.visualstudio.com/commit:5763d909d5f12fe19f215cbfdd29a91c0fa9208a/server-linux-x64/stable

删除错误的文件夹中全部内容,并用新下载的替换。
mine be like:

rm -rf ./784b0177c56c607789f9638da7b6bf3230d47a8c/*
tar -xvf vscode-server.tar.gz
cp -rf vscode-server/* ./784b0177c56c607789f9638da7b6bf3230d47a8c/

Citation:

https://blog.csdn.net/liuzk2014/article/details/108867065

以上是关于Could not establish connection to 192.168.x.x DownloadingVS code Server failed please install either的主要内容,如果未能解决你的问题,请参考以下文章

Kitematic when login show Error:Tunning socket could not be established

报错:Unchecked runtime.lastError:Could not establish connection. Receiving end does not exist.

npm ERR! Error: tunneling socket could not be established的解决问题

Connection could not be established with host smtp.163.com

Google Chrome 插件开发: 无法建立连接, 接收端不存在. Could not establish connection. Receiving end does not exist

vscode could not establish connection to linux The VS Code Server failed to start