Not able to connect to Mongo Shell


#1

Hello Support Team

I am not able to connect to Mongo Shell. Error Log is given below

Error Log while connecting Mongoshell

[sarthak@gw02 ~]$ mongo

2018-09-15T08:58:12.979-0400 I CONTROL [main] WARNING: Cannot detect if NUMA interleaving is enabled. Failed to probe “/sys/devices/system/node/node1”: Permission denied
MongoDB shell version v3.6.4
connecting to: mongodb://127.0.0.1:27017
2018-09-15T08:58:13.030-0400 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017, in(checking socket for error after poll), reason: Connection refused
2018-09-15T08:58:13.030-0400 E QUERY [thread1] Error: couldn’t connect to server 127.0.0.1:27017, connection attempt failed :
connect@src/mongo/shell/mongo.js:251:13
@(connect):1:6
exception: connect failed


#2

@emailsmalik Refer the topic How to access MongoDB in Itversity labs?