change port sequentially