Fix 'Port Already Allocated' Error in Windows Defender - How to Fix Defender 504 Gateway Timeout Sync Issue-VS Code Windows Terminal Module Error Troubleshooting

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.