JAVAWEB2 URL (the process of finding)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.