Check 504 Gateway Timeout with Ping: Quick Diagnostic Steps - Fix Remote Desktop Connection by Resetting Configuration-How to Unstick Command Prompt When It Won't Open

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