try to kill the server which you want access and try to access again
1 .ctrl-shift-p and choose:
2. Remote-SSH: kill VS Code Server on Host...
3. access remote again
Thank you.
try to kill the server which you want access and try to access again
Type this one in server side.
rm -rf ~/.vscode-server/