telnet open
Connects to a telnet server. Windows commands reference
On Windows
Windows
o[pen] <hostname> [<port>]
To connect to a telnet server at telnet.microsoft.com, type
o telnet.microsoft.comIdentify<hostname>Specifies the computer name or IP address.[<port>]Specifies the TCP port that the telnet server is listening on. The default is TCP port 23.