Allow mongo port to be set