Trouble enabling authorization to my self hosted mongodb

I just realized that MongoNetworkError: connect ECONNREFUSED actually means that my mongodb is not running… My tab indentation in the .conf file was the issue.

Entry should be:

security:
  authorization: "enabled"

Very confusing that the error comes after asking for the password and not before.