VSCode has to be explicitly granted Local Network Access after updating to Sequoia
The setting can be found in System Settings -> Privacy & Security -> Local Network. Giving VSCode Local Network access solved the issue.
source