Using the Telnet Utility Networking

Telnet is an acronym formed from Terminal EmuLation for NETworks. It was originally developed to open terminal sessions from remote UNIX workstations to UNIX servers. Although still used for that purpose, it has evolved into a troubleshooting tool.

The Telnet Utility

The Telnet Utility

In today’s Windows environments, Telnet is a basic command-line tool for testing TCP connections. You can Telnet to any TCP port to see if it is responding, which is especially useful when checking SMTP and HTTP (Web) ports. Each upperlayer service in a TCP stack has a number for its address. Each network service that uses a particular address will respond to a TCP request on this port (if the defaults are used).

TCP port numbers and services

To find out if a TCP service is responding, follow these steps:

  1. Choose Start _ Run.
  2. Type Telnet and click OK to open the Telnet utility.
  3. At the prompt, enter a question mark (?) to display the valid commands for this interface.
  4. TCP service

  5. At the prompt, type open and the IP address or DNS host name of the device running the TCP service to which you want to connect, followed by the TCP port number (one from Table 4.6, for instance).
  6. For example, to find out if the Sybex web server is responding to TCP port 80 (its default port), enter the IP address or DNS host name of the server (www.sybex.com, in this case) followed by the TCP port number (80, in this case).

    If you successfully connect to the web server, you won’t be notified that this is the case. If the web server doesn’t respond, you’ll receive a Connect Failed message.

  7. If the procedure was successful, you can simply close the Telnet window or key in Ctrl+] to return to the Telnet prompt.


Face Book Twitter Google Plus Instagram Youtube Linkedin Myspace Pinterest Soundcloud Wikipedia

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Networking Topics