Fix Remote Desktop Authentication Error: Practical Steps - Teams Port Conflict: Kill the Process or Change Port-Fix 504 Gateway Timeout with Command Prompt

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