2.22.3. telnet

telnet is a utility that allows you to connect to network devices using the Telnet protocol.

The utility is usually present in Windows, but is disabled by default.

  1. Right click on the button "Start" and select "Applications and features":
  2. Clickon "Programs and Features":
  3. Clickon "Turn Windows features on or off":
  4. Find in the list "Telnet Client", check the box next to it and click "OK":
  1. Openup command line.
  2. Enter the command and press Enter:
    telnet example.com 80

    In the team instead of example.com specify the IP or address of the site to which you want to connect (the address must be specified without http:// or https:// at the beginning and / at the end), and instead of 80 — the port on which the connection should be made:

  3. Wait for the connection results. If the connection is successful, a blank screen will appear:If the connection fails, an error message will be displayed:

To get out of telnet press combination Ctrl+], then enter the command q and press Enter.

  1. Openup terminal.
  2. Install the Homebrew package manager if not already installed:
    1. Enter the command and press Enter:
      /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    2. In response to a request Press RETURN to continue or any other key to abort click Enter.
    3. When prompted for a password, enter the password for your account on the device (when entering the password, characters will not be displayed on the screen) and press Enter.
    4. Wait for the installation to complete.
  3. Enter the command and press Enter:
    brew install telnet

  4. Wait for the installation to complete.
  1. Openup terminal.
  2. Enter the command and press Enter:
    telnet example.com 80

    In the team instead of example.com specify the IP or address of the site to which you want to connect (the address must be specified without http:// or https:// at the beginning and / at the end), and instead of 80 — the port on which the connection should be made:

  3. Wait for the connection results. If the connection is successful, the following message will appear:If the connection fails, an error message will be displayed:

To get out of telnet press combination Ctrl+], then enter the command q and press Enter.

Content