I am trying to set up mongodb on my own server and connect to it remotely through my laptop.
I had successfully installed the database and created my own user with admin privileges. However, when I shutdown the server and restarted it, I try to run it through
***aborting after invariant() failure
This error seems to be because I'm not passing in the correct credentials, but I cannot find any documentation on how to log in and start the instance using the new user I created. I've only found very old solutions through searching on my own that no longer seem to apply.
How do I connect to it, and then demand authorization from remote connections?