change local i from mongodb config in ubtuntu code example Example: start mongodb service ubuntu sudo systemctl start mongod sudo systemctl stop mongod