Export MongoDB's internal port to ENV

Tackles #41