Hi I installed fresh manjaro LTS KDE version. I installed mongodb-bin from aur packagemanager and i ran systemctl enable mongod
But it says the service isn’t available.
What should I do?
I tried running mongod --port 27107 --dbpath /home/linux/database
but then when I run mongo shell its displays following output:
MongoDB shell version v5.0.5 connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed: SocketException: Error connecting to 127.0.0.1:27017 :: caused by :: Connection refused : connect@src/mongo/shell/mongo.js:372:17 @(connect):2:6 exception: connect failed exiting with code 1
What should I do now