mongo restart
snippet in c

mongo restart

user6850

sudo service mongod start

how to restart mongodb server in ubuntu

user6492

sudo systemctl restart mongodb
# it will restarts running mongodb server