Home>Article>Operation and Maintenance> What port can phpstudy use?

What port can phpstudy use?

angryTom
angryTom Original
2019-10-18 14:07:18 4202browse

What port can phpstudy use?

What port can phpstudy use?

The so-called port is like a house number, the customer The client can find the corresponding server through the IP address, but the server has many ports. Each application corresponds to a port number. Only through a port number similar to the house number can the client actually access the server. In order to distinguish the ports, each port is numbered, which is the port number.

Computers generally use1-65535, of which 0 is not used and 1-1023 is the system port, also called BSD reserved port.

User port (1024-65535)

The user port is divided into: BSD temporary port (1024-5000) and BSD server (non-privileged) port (5001-65535 ).

1024-5000: BSD temporary port, general applications use 1024 to 4999 for communication;

5001-65535: BSD server (non-privileged) port, used to customize for users Port.

System port (1-1023)

0-1023: BSD reserved port, also called system port. These ports can only be used by system-privileged processes.

Therefore, the port numbers that phpstudy can use are 1024-65535. These ports are user ports and will not conflict with system services.

For tutorials on modifying the port, you can read this article:How to modify the port in phpStudy

Recommended tutorial:phpStudy Quick Start Video Tutorial

The above is the detailed content of What port can phpstudy use?. 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