hey guys i want to install mongodb server and shell on a machine with no internet access.
i downloaded mongodb-org-shell_5.0.8_amd64.deb and mongodb-org-server_5.0.8_amd64.deb and moved it to that machine and tried installing using apt-get …
i am getting the following error
MongoDB shell version v5.0.8
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