URL: Full name of the Uniform Resource Locator, used to locate the Internet resources.
Problem: Connect (javaweb1 Tomcat) http://localhost:8080/myweb/test.html
Parsing: http/-------------------
localhost----------------domain name (in order to find an IP address)
Hosts file location: C:\Windows\System32\drivers\etc\hosts
Penultimate line content: 127.0.0.1 localhost
IP address domain name (Hosts file: Domain Name Mapping
File: DNS mapping file)
Example: (local domain name: localhost) (external domain name: www.baidu.com)
8080:-------------------Port. For software monitoring (I think it's a bit awkward ...). )
Example: 8080:tomcat default port
3360:mysql the port of the database
1521:oracal the port of the database
(In the lookup process, first find in the local, if no PC is automatically connected to the local carrier's DNS
servers, such as telecommunications)
This process is like having a tomcat-mounted PC, which is equivalent to a server, external if you want to access
Our resources, through the above process, the IP address is to locate our host, the port number can be
Navigate to the contents of the run. This is the principle that we usually visit each website.
JAVAWEB2 URL (the process of finding)