Search code examples
visual-studio-codeserverconnectionubuntu-server

Trying to connect remote (linux) server from vscode in windows 11 but showing xhr failed


enter image description here

please help me out


Solution

  • It might be a problem downloading configuration file from az764295.vo.msecnd.net . For that you can download it externally and copy paste it to your linux server. Also, vs code automatically download this file while trying to connect with ssh, for that request your network administrator to open 443 port to open az764295.vo.msecnd.net on your linux server. To know whether the port is open or not ping az764295.vo.msecnd.net and telnet az764295.vo.msecnd.net 443. It is one time fixation.