telnet: open

Connects to a telnet server.

Syntax

o[pen] <hostname> [<port>]

Parameters

Parameter Description
<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.

Examples

To connect to a telnet server at telnet.microsoft.com, type:

o telnet.microsoft.com