Fix PowerShell 504 Gateway Timeout When Calling REST API - Resolve 'Port Already Allocated' in PowerShell at Startup-Fix Windows Terminal Port Already Allocated Permission Denied

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.