Port of those things

port

Noun 1. Port appear in what areas, what delegates

  a. URL browser needs of the port, but the default is port 80, do not write after the host name, but if it is the other port access, be sure to add the port number. Here, as the port number that port tcp connection established on the browser and the web server,

   Where the port is not a browser client hosts

  b. When setting up virtual hosts, you need to set the listening port, to listen for browser requests. Browser requests on port 8080, you should listen on port 8080, each listening on a port is to open a process.

  C. firewall open the respective port, the port may be in communication with the means between the foreign host. The web service uses port 80, port 80 should be open and listening on port 80, the web service to work properly

Web Hosting

1. The relationship between the virtual host server name, server domain names, IP

  (1) When there is no register a domain name, IP address can be used to access the web server, this time the browser requests sent to the server, ip address is the IP address, host name (host) is the IP address in the URL, find the IP address of the web according to server host, according to port

  Found provide web services process, according to the domain directory to find the web service, if the virtual host server name and sent by the browser to a different domain, you can not be matched to this virtual host, can not enjoy the services it provides. Therefore, there is no domain name registration,

  Virtual host server name you want to set the IP address of the server.

  (2) register a domain name, the domain name can be used to access the web server, the domain name can be resolved to the IP address of the domain name, the browser sends to the server IP and domain name, virtual host server name to register through the DNS server.

  (3) a cloud server can bind multiple domain names, why, a domain name can not use it. If you deploy several projects on the host access using a domain name, the situation is: www.abc.com www.abc.com:8080 www.abc.com:8000

    Address bar rather unsightly, inconvenient for users to remember. Binding multiple domain names, you can access different items with different domain names.

  

  

Guess you like

Origin www.cnblogs.com/fanshehu/p/11914832.html