Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Network port number layout

Shulou Source: shulou.com Published: 2022-06-01 02:52:40 10月03日 Update

Ports are divided into physical ports and logical ports.

Physical port: the interface used by hubs, switches, and routers to connect other network devices

Logical port: generally refers to the port in the TCP/IP protocol, with port numbers ranging from 0 to 65535, such as port 80 for web browsing services, port 21 for FTP services, and so on.

Classification:

(1) well-known port (Well Known Ports): this type of port is also called "common port" and is numbered from 0 to 1024. They are tightly tied to specific services. Usually the communication of these ports clearly indicates the protocol of a service, and these ports can no longer redefine its object. For example, port 80 is actually always used for HTTP (Hypertext transfer Protocol) communications, while port 23 is dedicated to Telnet services.

(2) Registration port (Registered Ports): the port number is from 1025 to 49151. They are loosely tied to some services. That is, there are many services tied to these ports, which are also used for many other purposes. Most of these ports do not clearly define service objects, and different programs can define them according to their actual needs. For example, these ports are defined in remote control software and * * programs (keep in mind that these common program ports are very necessary in the protection and killing of * programs).

(3) dynamic and / or private port (Dynamic and/or Private Ports): the port number is from 49152 to 65535. In theory, these ports should not be assigned to services. In fact, some special programs, especially some programs, like to use these ports, because these ports are often unnoticed and easy to hide.

Tags: Port service program slogan actual actually object physics logic communication network different loose special necessary that is switch function dynamic Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL OPPO Reno Linux macOS vpn