This reference includes examples for the syntax information for the telnet command.

Command Description Usage Examples
telnet

Test whether a specific TCP port is open. This command is for the interactive communication with the host on a particular port number.

PORT is an optional parameter. You must provide a host other than localhost or 127.0.0.1.

telnet host port

telnet 192.168.0.59 80

telnet example.com 80

Syntax

Flag Description
host IP address or FQDN of the host to ping.
port Port number of the host.

Related Commands

Command Description
nslookup Queries Internet name servers interactively.
telnet Tests whether a specific TCP port is open.
traceroute Prints route IP packets sent to a remote host.