use port and host for every mongo connection