Error: error connecting to db server: no reachable servers

Good Morning! I downloaded the version of mongodb 3.6.9 and unpacked it in my linux. after configuring the environment variables I started the database and created a shard environment, however doing some tests, I realized that I can not execute any tool, the error is as follows:
mongotop
Error: error connecting to db server: no reachable servers
The same is true for mongostat, mongodump, etc.

To get status using any of mongo tools, you need to have atleast one mongo daemon process running.

When I started mongod in one terminal, and in second terminal I started mongotop

Kanika

@Wellington_81123 In addition to what @Kanika mentioned, can you post the output of “ps -ef | grep mongo” ? That will show any mongo processes running, also a sample command line of one of the commands you executed.

Thanks
Mike