Auto port check and increment