Failure of connecting to mongo Server / Connection Refused

Hello , I am Willi and use Ubuntu . I just have run the installatiion of server and clients on the dir-sql-m folder.

Error happened , as always :This was the error spitted out from the terminal by calling the mongod:

MongoDB shell version v3.6.8
connecting to: mongodb://127.0.0.1:27017
2021-04-15T14:50:49.097+0200 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017, in(checking socket for error after poll), reason: Connection refused
2021-04-15T14:50:49.098+0200 E QUERY [thread1] Error: couldn’t connect to server 127.0.0.1:27017, connection attempt failed :
connect@src/mongo/shell/mongo.js:257:13
@(connect):1:6
exception: connect failed
Any clue abouzt what I am doing falsely in installation?

Thanks, man, for any hints !!!:slight_smile:

You must start the mongod server.

1 Like

Hey Steeve, thx 4 thr reply, but when i entered the cmd. / mongosh, then it throws me kinda same error anyway… Clue about it?

Post a screenshot of what you do that shows the issue you are having.