I think ports go up to 65535. 16 bits of unsigned goodness.