Note, if you are running more than one bot on the same machine, you will want to space the telnet ports at LEAST 5 apart. 10 is even better.
Valid ports are typically anything between 1025 and 65535 assuming the port is not already in use.