Windows open telnet service steps

What is telnet:

Telnet is the abbreviation of teletype network, and now it has become a proper term, indicating the remote login protocol and method, which is divided into Telnet client and Telnet server programs. Telnet allows users to remotely log in to the remote Telnet server on the local Telnet client. .

What is the use of telnet:

Telnet provides a remote login function, so that users can log in to the remote Telnet server by running the Telnet client on the local host, and the commands entered locally can be run on the server, and the server returns the results to the local, just like directly controlling the server on the server. Desk operation, so that the server can be remotely operated and controlled locally.

For details, please refer to Telnet on Baidu Encyclopedia

Windows open telnet service steps

  • By default, the Telnet function of the windows system is disabled. When you enter the telnet command in the command line, you will be prompted that 'telnet' is not an internal or external command, nor is it an executable program or batch file.
    Screenshot of the error report before the telnet service is not started

  • Open the control panel (shortcut method: win+R and enter control ), then click [Programs], and then click [Enable or close Windows features]
    Control Panel_Programs_Enable or close windows features

  • Check [Telnet Client], which allows you to remotely connect to other computers, and click [OK]
    Start the Telnet client

use telnet

Some supported commands

Commands may be abbreviated. Supported commands are:
c - close to close the current connection
d - display to display the operating parameters
o - open hostname [port] to connect to the host (default port 23).
q - quit quit telnet
set - set set option (type 'set ?' for list)
sen - send send string to server
st - status print status information
u - unset unset option (type 'set ?' for list)
? /h - help print help information

You can use the telnet command to check the opening and availability of the port: telnet ip port
For example: telnet 127.0.0.1 6379
Successful screenshot (go directly to a black window page)

Screenshot of successful telnet port

Failed screenshot, reason: Check whether the port is open and the firewall is closed

Screenshot of telnet port failure


Guess you like

Origin blog.csdn.net/qq_45337268/article/details/127182838