MongoDB is not working in Arch Linux

Hey, I need mongodb to install in Arch Linux. I have installed mongodb-bin from AUR . Unfortunatily, when i give the cammand mongo , is shows the error

connecting to: mongodb://
2020-04-02T19:41:53.339-0400 E QUERY [js] Error: couldn’t connect to server, connection attempt failed: SocketException: Error connecting to :: caused by :: Connection refused :
2020-04-02T19:41:53.368-0400 F - [main] exception: connect failed
2020-04-02T19:41:53.368-0400 E - [main] exiting with code 1
[muhammad@liba ~]$

Is your mongod up and running on port 27017?
When you issue mongo it tries to connect to default port i,e 27017

1 Like

It works after installing tools.
Thanks for replay