Connection error while installing mongodb on fedora 28
As it turns out, Fedora treats mongo and mongod as two separate packages. While on most distributions you can install both services in a single bundle, on Fedora you have to install them separately.
sudo dnf install mongodb mongodb-server
Then you can start the service with mongod.