My server is up but it refuses my connection when i provide my username and password

so I’m doing the second lab and i got my config file working and everything but when i try to connect to the daemon it refuses my connection.

MongoDB shell version v3.6.17
connecting to: mongodb://
2020-02-07T07:09:27.630+0000 W NETWORK [thread1] Failed to connect to, in(checking socket for error after poll), reason: Connection refused
2020-02-07T07:09:27.630+0000 E QUERY [thread1] Error: couldn’t connect to server, connection attempt failed :
exception: connect failed

when i tried to validate it earlier it said to re check the port which i did and it connects fine without the username and password. but wont let me do anything because it says no users are authenticated. it also feeds me this line every once in a while

2020-02-07T07:15:00.953+0000 I CONTROL [LogicalSessionCacheRefresh] Sessions collection is not set up; waiting until next sessions refresh interval: Replication has not yet been configured

Hi @Hyrum_58532,

This shouldn’t be there in your configuration file for the Lab - Configuration File.

I’ve sent you a private message. Please share the content of your configuration file and also share the output of this command :

ps -ef | grep mongod

Shubham Ranjan
Curriculum Services Engineer