Home >Common Problem >What is the default port for telnet?

What is the default port for telnet?

藏色散人
藏色散人Original
2020-07-29 11:15:3066051browse

The default port of telnet is "23". The method to view the default port under Windows is: 1. Press the "win r" key to open the "Run" window; 2. Enter the "cmd" command and press Enter to open the command prompt window; 3. In the command window, execute "netstat -a -n" command can view the default port.

What is the default port for telnet?

The operating environment of this tutorial: Windows 7 system, Dell G3 computer.

The default port number of the telnet service is 23, and the default port number of the ftp service is 21.

The Telnet protocol is a member of the TCP/IP protocol family and is the standard protocol and main method for Internet remote login services. It provides users with the ability to complete remote host work on their local computer. Use the telnet program on the end user's computer to connect to the server. Terminal users can enter commands into the telnet program, and these commands will be run on the server as if they were entered directly on the server's console. You can control the server locally. To start a telnet session, you must enter your username and password to log into the server. Telnet is a commonly used method to remotely control web servers.

What is the default port for telnet?

View port

To view the port in windows 2000/xp/server 2003, you can use netstat command:

Press the "win r" key to open the "Run" window, type "cmd" and press Enter to open the command prompt window. Type "netstat -a -n" at the command prompt, and after pressing the Enter key, you can see the port number and status of the TCP and UDP connections displayed in numerical form.

Tips: netstat command usage

Command format: netstat -a -e -n -o -s

-a means to display all active tcp connections and computer monitoring tcp and udp ports.

-e means displaying the number of bytes sent and received by Ethernet, the number of data packets, etc.

-n indicates that only the addresses and port numbers of all active tcp connections are displayed in numerical form.

-o means display active tcp connections and include the process id (pid) of each connection.

-s means displaying statistical information of various connections by protocol, including port numbers.

The above is the detailed content of What is the default port for telnet?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn