Docs Home → Develop Applications → MongoDB Manual
getHostName()![](/docs/v4.4/assets/link.svg)
getHostName()
Returns: The hostname of the system running the mongo
shell process.
Docs Home → Develop Applications → MongoDB Manual
getHostName()
Returns: | The hostname of the system running the mongo
shell process. |
---|