pull port data from database