Goodmorning everybody,
I try to install MongoDB on Debian11 by following this topic:
https://www.mongodb.com/docs/v5.0/tutorial/install-mongodb-on-debian/
But i have got the error error: MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017 when i try to start the mongo.service
here is my mongod.conf
and the result of the commands:
root@mongoserver:~# ps -aef | grep [m]ongod
root@mongoserver:~# ss -tlnp
State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
LISTEN 0 511 0.0.0.0:80 0.0.0.0:* users:(("nginx",pid=506,fd=7),("nginx",pid=505,fd=7),("nginx",pid=504,fd=7))
LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=499,fd=3))
LISTEN 0 128 [::]:22 [::]:* users:(("sshd",pid=499,fd=4))
root@mongoserver:~#
Anyone can helping me, i’m newbie with mongo.
Regards