support port querying