Talk with 127.0.0.1 localhost
localhost means the local host, refer to this computer, it is to loop network interface standard host name, IP address corresponding to 127.0.0.1 , the local server accessible web project (http: // localhost).
They then what difference does it?
localhost is not transmitted through the network card, network card, and not to limit the firewall; 127.0.0.1 is dependent on the card, and the card is limited by the firewall.
With this machine the current user access permissions localhost; and with the IP access, network access to the host is to go, related to the network user right.
Because it would not resolve to an IP access when using localhost, it will not take up network resources, generally with localhost more convenient.
Unable to access the local localhost how to do it?
- Open http://127.0.0.1/ see if you can access the IIS (Internet Information Services) of the default page, then the access IIS has been successfully opened, otherwise check whether IIS is installed and the machine is turned on;
- Start - command (cmd) - ping localhost, to see whether the data returned is 127.0.0.1, if it can be resolved then the localhost, or open the C: \ WINDOWS \ system32 \ drivers \ etc \ host file to see if there is anything 127.0 .0.1 localhost, and then add good to visit localhost;
- Try turning off the firewall on your computer, or to check for malicious plug on the computer;
- It is not the IIS uninstall, reinstall.
IP is 127.0.0.1 localhost points to this relationship can be amended?
The answer is yes, you can set the Hosts file, the following methods are set in both the operating system.
- Set in Windows:
- In Linux setup:
localhost means the local host, refer to this computer, it is to loop network interface standard host name, IP address corresponding to 127.0.0.1 , the local server accessible web project (http: // localhost).
They then what difference does it?
localhost is not transmitted through the network card, network card, and not to limit the firewall; 127.0.0.1 is dependent on the card, and the card is limited by the firewall.
With this machine the current user access permissions localhost; and with the IP access, network access to the host is to go, related to the network user right.
Because it would not resolve to an IP access when using localhost, it will not take up network resources, generally with localhost more convenient.
Unable to access the local localhost how to do it?
- Open http://127.0.0.1/ see if you can access the IIS (Internet Information Services) of the default page, then the access IIS has been successfully opened, otherwise check whether IIS is installed and the machine is turned on;
- Start - command (cmd) - ping localhost, to see whether the data returned is 127.0.0.1, if it can be resolved then the localhost, or open the C: \ WINDOWS \ system32 \ drivers \ etc \ host file to see if there is anything 127.0 .0.1 localhost, and then add good to visit localhost;
- Try turning off the firewall on your computer, or to check for malicious plug on the computer;
- It is not the IIS uninstall, reinstall.
IP is 127.0.0.1 localhost points to this relationship can be amended?
The answer is yes, you can set the Hosts file, the following methods are set in both the operating system.
- Set in Windows:
- In Linux setup: