microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.43k stars 29.34k forks source link

VSCode MacOS strange local networking behaviour #233846

Open agowa opened 1 day ago

agowa commented 1 day ago

Does this issue occur when all extensions are disabled?: Yes

Steps to Reproduce:

  1. Have two computers + a gateway on a local network
  2. Install iTerm2 (for reference purposes)
  3. Install VS Code
  4. Open VS Code and iTerm2
  5. Run in both a ping to the 2nd computer on the local network.
  6. --->> Ping works within iTerm2 but within VSCode returns "No route to host"

Pinging the gatway works in both cases. As does pinging something beyond the gateway e.g. public 1.1.1.1...

Does anyone know what causes this issue? I tried to compare the output of netstat -rn but it looks identical. What is going on here???

connor4312 commented 10 hours ago

Are you trying to use Remote - SSH to connect to the second computer? If so, can you share the "Output" logs from Remote - SSH? (found in the bottom panel)

Thanks!