However, if there are different sites on a server, you can use another port, such as123.5438+023.123: 8080, because two 80s are easier to remember.
Differences and connections:
80 is actually an interview: 80. Generally, it uses 8080, which is completely different from webcahe. For example, in a linux server, apache runs port 80 by default, while apache-tomcat runs port 8080 by default. In fact, the port has no practical significance, just an interface, mainly depending on the listening port of the service.
Port 80 is open to HTTP (Hypertext Transfer Protocol), which is the most commonly used protocol for surfing the Internet and is mainly used for transmitting information on the World Wide Web. You can access the website by adding ":80" to the HTTP address (commonly known as "URL"). Because the default port number of the web browsing service is 80, you only need to enter the URL instead of ":80".
Port 8080 is used for WWW proxy service, which can realize web browsing. When visiting a website or using a proxy server, the port number ":8080" is often added. In addition, after installing Apache Tomcat web server, the default service port is 8080.