Verify the server is responsive.
Section: Admin and status
Ping the server
javascript
javascript
db.adminCommand({ ping: 1 })Explanation
A lightweight connectivity check.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Admin and status