telnet: open

Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

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