How to Fix Node Version Mismatch in a Project - Fix Nginx Configuration Test Failed on Ubuntu-Nginx 502 Bad Gateway: Upstream Connection Refused Fix

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