This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Description
is-mongodb-running always returns that no instances are running when mongod is started using WSL. Additionally, if mongod is started from Windows, then it will also not report any instances running.
WSL does not support netstat or lsof yet. Therefore, the PID can be retrieved from ps command but the port is not found for the PID.
Microsoft has said they are working on the issue and hopefully a future release will support netstat and lsof. microsoft/WSL#2249