Pass ports as params