adding mongo port and host parameters