Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the default port number of the http protocol

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Today, Xiaobian shared with you what is the default port number of http protocol. I believe many people don't know much about it. In order to let everyone know more, I summarized the following contents for everyone and looked down together. I'm sure you'll find something.

The default port number of HTTP protocol is "80", you can access the website through HTTP address (that is, often said "URL") plus ":80"; but because the default port number of browsing web services is 80, so you can omit, just enter the URL, do not enter ":80".

Operating environment: Windows 7, Dell G3 PC.

The default port number for HTTP is "80."

"Port" is the free translation of English port, which can be regarded as the outlet for communication between equipment and the outside world. Ports can be divided into virtual ports and physical ports, where virtual ports refer to ports inside a computer or switch router that are not visible. For example, port 80, port 21, port 23, etc. in a computer. Physical ports, also known as interfaces, are visible ports, RJ45 network ports of computer backplanes, RJ45 ports of switch routers hubs, etc. Telephone use of RJ11 jack also falls into the category of physical ports.

Well-known ports are well-known port numbers, ranging from 0 to 1023, which are generally assigned to certain services. For example, port 21 is assigned to FTP services, port 25 is assigned to SMTP (Simple Mail Transfer Protocol) services, port 80 is assigned to HTTP services, port 135 is assigned to RPC (Remote Procedure Call) services, etc.

Port 80 is open for HTTP (HyperText Transport Protocol), which is the most frequently used protocol for surfing the Internet and is mainly used for WWW (World Wide Web), which is the protocol for transmitting information on the World Wide Web.

You can access the website by HTTP address (often called "URL") plus ": 80", because the default port number for browsing web services is 80, so you only need to enter the URL instead of ": 80".

Port 80 and Port 8080

Generally 80 is used as the access port of the web server. For example, the IP address of a website is 123.123.123.123, and we access 123.123.123: 80. Only 80 is the default port and can be omitted. However, if there are different sites on a server, it can be accessed using another port, such as 123.123.123.123:8080. 8080 is selected because two 80 are easy to remember.

Differences and connections:

80 is the default port of http protocol. In fact, when you enter the website, the browser (non-IE) has already helped you enter the protocol, so you enter http://baidu.com, which is actually to visit http://baidu.com:80. And 8080, generally with webcahe, completely different from the two, such as linux server apache default run port 80, and apache-tomcat default run port 8080, in fact, the port has no practical significance is just an interface, mainly to see the service listening port.

About the http protocol default port number is what to share here, I hope the above content can have a certain reference value for everyone, you can learn to apply. If you like this post, share it with more people.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report