Fix Remote Desktop 502 Bad Gateway in Nginx - How to Solve Windows Terminal Connection Timeout via Proxy-Fix Windows Defender Connection Refused via Registry

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