Cannot connect to the mongoshell

I can no longer launch the mongo shell. I must have inadvertently changed something when doing the chapter 1 lab.
PS C:\Users\debra\mongodb\university\m103\m103-vagrant-env> mongo
MongoDB shell version v4.0.6
connecting to: mongodb://127.0.0.1:27017/?gssapiServiceName=mongodb
2019-04-12T18:02:52.031-0700 E QUERY [js] 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 :: No connection could be made because the target machine actively refused it. :
connect@src/mongo/shell/mongo.js:343:13
@(connect):1:6
exception: connect failed

1 Like

Is mongod runnig at the given port?

1 Like