As far as I can tell, VSCode's Remote - WSL service connects over port `41261`. So, we can allow it through the Firewall like this:
sudo ufw allow 41261 comment 'VSCODE'
Archived post: posted sometime between 2016 and 2022.
As far as I can tell, VSCode's Remote - WSL service connects over port `41261`. So, we can allow it through the Firewall like this:
sudo ufw allow 41261 comment 'VSCODE'