Questions about ie browser can not access the localhost

After work, reinstall the system, open ie8 / 9 browser encountered a problem can not be accessed when accessing local localhost, 127.0.0.1 can not access, while using other browsers can access
my hosts file in this situation is a problem, file local services will shield caused by the popularity of the first issue under the hosts file Related:
this file can achieve some fantastic features, including the development of web IP address, mask the development of the site, and even shielding advertising. Modify the hosts file is very simple, just need to know where the hosts file, how simple modifications can be, let's explain in detail.
hosts file Where?

In this paper, Win7 system, for example, XP, Win8 and Win10 systems, the procedure is the same.

Fixed Hosts file path: C: \ WINDOWS \ system32 \ drivers \ etc

C above refers to the system tray, general computer systems are installed in C drive, if your computer system is not installed on the C drive, please refer to the actual system drive letter.

Win7 modify the hosts file graphic tutorials

We can find the hosts file directly through the above file path, here small teach you the quickest way to open a kind of method to modify the hosts file.
You may be utilized win + r Input C: \ WINDOWS \ system32 \ drivers \ etc quickly locate
an open run Win7 Start menu may be directly used [Win + R} shortcut key combination to quickly open, and then paste the hosts file location in the open back of the input box, and "OK" at the bottom as shown below.
2, then you can quickly open the hosts file. Next on the right file, then select choose to use Notepad to open after the "open"
3, use Notepad to open, you can modify the hosts file. According to the function you want to achieve, to modifications.
For example one: access to the site specified IP
IP address of the designated home www.jb51.net access script is: 119.188.139.154 just add below Hosts file this one:

119.188.139.154 www.jb51.net (Note that only a space between the IP and URL), as shown below.
Here Insert Picture Description
After the addition is complete, save what you can, and then we go to the computer in the ping www.jb51.net , you can see the access is to specify the IP address.
This by modifying the hosts file to specify the IP address of the way, sometimes useful, for example, we all know that Google does not open in the country, mainly due to a large number of domestic blocked Google DNS cause, if you can find some unmasked available Google server IP, in accordance with the above method, specifying the available IP address, you can access the Google.
Modify the Host file access Google
Example II: shielded designated website

Sometimes, we have to prevent child on some unhealthy websites, you can add these to the hosts file, add the following designated website can not be accessed properly.

Modify the hosts file to block sites is very simple, just follow this format can operate:

127.0.0.1 . Need to shield the WWW URL .com (for example, small series to shield the mobile phone script: m.jb51.net ) modify the Hosts file as follows.
Here Insert Picture Description
If you need to add multiple, in the row corresponding to a.

After completion of the addition, and save, go to open mobile phone version of the script to try on your computer, the site does not open up, as shown below.
Modify the hosts file, there are many other magical effect, such as screen video website advertising and so on, not described in detail here, I hope this article will help computer enthusiasts friends.

	很高兴对各位有所帮助!

Guess you like

Origin blog.csdn.net/weixin_43671743/article/details/89638378