The species prefers damper sites than Aerva javanica and can be found in open forests on mountain slopes, on waste and disturbed ground, deserted cultivation and coastal scrub and at altitudes from sea level to 900 meters .