getComsosPort -> getCosmosPort