Correctly configure the mongodb port.