localhost (operating system has default values and corresponding, so not necessarily in the Hosts file Riming write)

Source: Internet
Author: User
localhostLocalHost in the computer network, localhost (meaning "local host" means "this computer") is a standard host name for The Loop network Interface (loopback), and the corresponding IP address is 127.0.0.1 (IPV4) and [:: 1] (IPV6). Directory

1 Introduction

2 setting 2.1 Settings in Windows: 2.2 Linux settings:1 IntroductionThis name is also a reserved domain name (RFC 2606) and is listed separately in order to avoid confusion with the narrowly defined host name. Where you can use the computer host name in other ways, specify the host as localhost. For example, pointing to http://localhost of a Web browser installed on a Web server will show the home page of the Web site that is serving on the computer that is running this browser, but only if the Web server is configured to the service loop interface. A special DNS host name that represents the IP address assigned to the computer that refers to this name. Consider this name as a connectionless protocol that provides fast but unreliable services. localhost refers to your computer itself. In the Windows system it became the alias of the 127.0.0.1, in the UNIX system, look at the NIC configuration will be found as a local loop, a certain program to use localhost faster than 127.0.0.1. Important to reaffirm localhost and IIS, IE, Windows Independent, he is referring to the computer you are using itself. In the Hosts file localhost point to the IP is 127.0.0.1 this relationship can be modified by Windows modify localhost point2 Setting in Windows Settings:Two ways to find localhost settings: 1, run drivers open etc files under the hosts will see the 127.0.0.1 localhost 2, open C:\WINDOWS\system32\drivers\etc\ Hosts file, This file can be opened with Notepad as follows: # Copyright (c) 1993-1999 Microsoft Corp. # This is a sample HOSTS file used by Microsoft TCP/IP for W indows. # This file contains the mappings's IP addresses to host names. Each # entry should is kept on a individual line. The IP address should # is placed in the ' in the ' the ' the ' the ' the ' corresponding host name followed by. # The IP address and the host name should is separated by at least one #. # Additionally, comments (such as) may is inserted on individual # lines or following the machine name denoted by A ' # ' symbol. # For example: # 102.54.94.97 (not shown here) # source Server # 38.25.63.10 (not shown here) # x client host 127.0.0.1localhost the bottom: 127.0.0.1 localhost, you can change these two parameters at your discretion. The format is IP space domain name localhost what does login mean.Linux settings: In a Linux system, a system administrator assigns a user a username and an initial password when creating a new account for the user. In addition, the Linux system assigns a host name to the computer. The host name is used to identify a stand-alone computer on the network (even if the user's computer is not networked, there should be a host name). The default host name given by the Turbolinux system is: localhost. After the Linux system starts successfully, the screen prompts: localhost login, which means that the system requires a username, and then requires the password to be entered. Otherwise, you will not be able to log on to the system or use it.

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.