Current location - Quotes Website - Collection of slogans - Http occupies port number 80, and my tomcat also occupies port number 80. Won't the two conflict?
Http occupies port number 80, and my tomcat also occupies port number 80. Won't the two conflict?
cannot

Because only Tomcat occupies port 80, http does not.

Tomcat is a program, http is a protocol, and only programs will occupy ports.

Tomcat's functions include http parsing, in which the http request is encapsulated as httpservletrequest, so it is a software running under jvm without conflict.