validating port as number