All Products
Search
Document Center

Elastic Compute Service:Enable Telnet in a Windows system

Last Updated:Jan 08, 2025

Telnet is a tool that allows an instance to communicate with another host by using Telnet. Telnet is commonly used to test connectivity between network services. In Linux systems, this tool is installed by default. In Windows systems, the telnet feature is not enabled by default. This topic uses Windows 10 and Windows Server as examples to describe how to enable the Telnet feature in these two Windows systems.

Procedure

Enable Telnet

Follow the steps below to enable the Telnet feature for your operating system.

Windows 10

  1. Click Start, enter Control Panel, and press the Enter key to open Control Panel.

  2. Choose Programs > Programs and Features, and click Turn Windows features on or off. Select Telnet Client and then click OK.

    image

Windows Server

  1. Connect to the Windows instance. For more information, see Use Workbench to connect to a Windows instance over RDP.

  2. Click Start, enter Control Panel, and press the Enter key to open Control Panel.

  3. Choose Programs > Programs and Features, and then click Turn Windows features on or off.

  4. In the Add Roles and Features Wizard dialog box, click Next to proceed to the Features tab. Select Telnet Client, click Next to reach the Confirmation tab, and then click Install to enable the Telnet feature.

    image

Verify results

  1. Click the Start icon, enter cmd, and then press the Enter key to open the Command Prompt window.

  2. Run the following command to test if the telnet command functions as expected.

    telnet -help

    If the system returns output similar to the example below, the telnet command is run as expected.

    image

Example

Run the following command to test service or network connectivity by using Telnet. Replace the <ip> and <port> parameters with actual values.

telnet <ip> <port>

If the cursor blinks, the connection is successful. To exit, press CTRL+].

References