Fix PowerShell Connection Refused or Permission Denied Errors - Troubleshooting MongoDB Compass localhost:27017 Connection-Windows Activation Backup and Restore Configuration Guide

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