Current location - Quotes Website - Team slogan - What is the difference between localhost and 127.0.0. 1:8080?
What is the difference between localhost and 127.0.0. 1:8080?
Localhost is equivalent to the IP address of this machine, and generally defaults to 127.0.0. 1.
In 127.0.0. 1:8080, 127.0.0. 1 is the same as localhost, and port number 8080 is used below 8080. Port 8080 is generally the default port used by tomcat servers, and other servers generally use different ports.