2.19.3.3. telnet

telnet — utility for connecting to network devices via Telnet protocol.

Notes:

  • The utility is present in Windows, but is disabled by default.
  • Telnet can be enabled via the console:
    • Windows Command Prompt (as administrator):
      dism /online /Enable-Feature /FeatureName:TelnetClient
    • Windows PowerShell (as administrator):
      Enable-WindowsOptionalFeature -Online -FeatureName TelnetClient
  1. Press Win+R (or right-click on "Start" and select "Run"), enter appwiz.cpl and press Enter:
  2. Click "Turn Windows features on or off":
  3. Enable "Telnet Client" and click "OK":
  1. Open command prompt.
  2. Execute the command (instead of example.com, specify the address of the desired site without http:// or https:// at the beginning and / at the end, instead of 80 — the desired port):
    telnet example.com 80

  3. Wait for the connection results — if successful, a blank screen should appear:If the connection fails, an error message will appear:

To exit telnet, press Ctrl+], type q and press Enter.

  1. Open terminal.
  2. Install the Homebrew package manager (if not installed):
    1. Execute the command:
      /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    2. At the prompt "Press RETURN to continue or any other key to abort", press Enter.
    3. When prompted for a password, enter the password for your account on your device (no characters will appear on the screen when you enter a password) and press Enter.
    4. Wait for the installation to complete.
  3. Execute the command:
    brew install telnet

  4. Wait for the installation to complete.
  1. Open terminal.
  2. Execute the command (instead of example.com, specify the address of the desired site without http:// or https:// at the beginning and / at the end, instead of 80 — the desired port):
    telnet example.com 80

  3. Wait for the connection results — if successful, this message will appear:If the connection fails, an error message will appear:

To exit telnet, press Ctrl+], type q and press Enter.

Content