Alright, so I figured it out. Had to connect to mongosh on a remote server via atlas cli and execute db.getMongo() and then change the localhost to server ip