微软自己搞了个p2p服务,让VSCode的远程开发可以通过p2p,挺方便,非常适合远程办公
------- 补充:
刚试了一下,server端连接不上微软服务器,联通宽带,可能是被墙了。
以下是命令行错误信息:
$ code tunnel
*
* Visual Studio Code Server
*
* By using the software, you agree to
* the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
* the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
*
[2024-07-12 15:54:43] error error listing current tunnels: connection error: error sending request for url (https://global.rel.tunnels.api.visualstudio.com/tunnels?global=true&labels=vscode-server-launcher&api-version=2023-09-27-preview): error trying to connect: tcp connect error: Connection timed out (os error 110)