Fixing PostgreSQL Connection Refused and Permission Denied - Port Already Allocated Error in Microsoft Store After Update-Resolve Connection Refused in PowerShell Scripts

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