Setting RetrieveResources ports