using getPortListByType