search
HomeCommon ProblemWhat is the default port number of http protocol?

What is the default port number of http protocol?

Feb 11, 2020 pm 06:01 PM
httpprotocolThe port number

What is the default port number of http protocol?

What is the default port number of http protocol?

The default port number of HTTP protocol is 80, usually used For web services

http port can be changed, but generally the default port is 80. For example, to access a website, you only need to enter the domain name in the browser, which is equivalent to the http:// domain name. At this time In fact, port 80 is used by default. If some websites use port 8080, then the writing method is changed to: http://domain name:8080.

By the way, the port used for the encrypted https protocol is 443.

HTTP protocol

HTTP protocol is the abbreviation of Hyper Text Transfer Protocol (Hyper Text Transfer Protocol), which is used to transmit from the World Wide Web (WWW: World Wide Web) server Hypertext to native browser delivery protocol.

HTTP is a communication protocol based on TCP/IP to transfer data (HTML files, image files, query results, etc.).

The main features are as follows:

1. Simple and fast: When a client requests a service from the server, it only needs to transmit the request method and path. Commonly used request methods are GET, HEAD, and POST. Each method specifies a different type of contact between the client and the server. Due to the simplicity of the HTTP protocol, the program size of the HTTP server is small and the communication speed is very fast.

2. Flexible: HTTP allows the transmission of any type of data object. The type being transferred is marked by Content-Type.

3. No connection: The meaning of no connection is to limit each connection to only process one request. After the server processes the client's request and receives the client's response, it disconnects. This method saves transmission time.

4. Stateless: HTTP protocol is a stateless protocol. Stateless means that the protocol has no memory ability for transaction processing. The lack of status means that if subsequent processing requires the previous information, it must be retransmitted, which may result in an increase in the amount of data transferred per connection. On the other hand, the server responds faster when it does not need previous information.

5. Support B/S and C/S modes.

For more tutorials on http protocol, please visit PHP Chinese website.

The above is the detailed content of What is the default port number of http protocol?. 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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.