I have connect over the terminal from Visual Studio Code with SSH to the external Server. So im on the shell from the external machine. I have installed mongodb over the npm Manager.
I know what localhost means.
Mongodb is installed on the same machine, where i have an ssh access to the shell.
if i check the status from mongodb with service mongodb status in the terminal i get:
.
.
Active: active (running) since Thu 2023-06-01 17:46:43 UTC; 2min 36s ago
.
.
That means that my mongodb is correctly installed an running. Right?
Normally i should be able start the mongo-shell with the command mongo. Right?
Maybe, i use the wrong command to start the mongo shell on the server. But in the examples on the internet explains, in order to start he shell, you scould use the command mongo