I know there's a setting in the config file, but i don't know if it's actually used or not.
Code:
<!-- Sets the ip/port for the tcp connections. Both zones and console (if enabled). Defaults are shown -->
<tcp ip="localhost" port="9000" telnet="enable"/>