mO SharemO Share

We’re excited to announce that the latest information is now available on our new site, the Ginesys One Wiki!. Visit the site for up-to-date resources and insights. We look forward to continuing to support you there!

How To: Perform Telnet

This article describes how to perform Telnet in various Windows OS.

Step-by-step guide

TELNET command is a built-in command in Windows operating systems. This command helps to diagnose basic connectivity to any service like Oracle Database service, Web application service or a SQL Server service. The TELNET command is a part of Telnet Client Windows feature which is not present by default on freshly installed OS, hence need to enable before using this. The following steps will guide to work with TELNET command and the steps are mostly relevant for Windows 7, Windows Server 2008R2 and later Operating Systems.

  1. Open a command prompt (cmd).

  2. Type TELNET -?. If the command results an output on TELNET command help, that confirms the presence of Telnet Client on the system. If you receives an error saying “'Telnet' is not recognized as an internal or external command, operable program or batch file.“ that means Telnet Client is not yet enabled. Enable Telnet Client on the system. 

  3. Once the availability of TELNETcommand is determined, then proceed in the test process. Type TELNETcommand in following format.

    TELNET <Hostname or IP> <Port>


    Example:

    TELNET GINESYS-SERVER 1521
  4. After executing the command if the command prompt turns into a blank screen with one blinking dash, that denotes successful accessibility of the service. If the the desired service is somehow unavailable the command will fail and will end with an error; Connecting To HOST...Could not open connection to the host, on port xxxx: Connect failed


How to enable TELNET client

Using Command-Line (Server OS or Windows 10)

  1. Open a command prompt (Run as administrator).

  2. Run the following command.

    dism /online /Enable-Feature /FeatureName:TelnetClient

Using OS Menu

Alternatively, you can enable the feature Telnet Client from 'Server Manager' for server OS or 'Turn Windows Feature on or off' menu in client OS.

For all the way to enable Telnet Client refer How To: Enable Telnet in Windows