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

Command Description Usage Examples

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

telnet host port

telnet 80

telnet 80


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.