I installed XAMPP. Everything started. I open the browser, enter localhost and an error flies in response
The requested URL could not be retrieved
While trying to retrieve the URL: http://localhost/
The following error was encountered:
Connection to 127.0.0.1 Failed
The system returned:
(111) Connection refused
The remote host or network may be down. Please try the request again.
Your cache administrator is [email protected]
Generated Fri, 26 Nov 2010 10:45:12 GMT by bios.igodkb.ru (squid/2.6.STABLE17)
What could be the problem and how can I fix it? In the host file, which is located in
# Copyright (c) 1993-2009 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one #space. # # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a '#' symbol. # # For example: # # 220.127.116.11 rhino.acme.com # source server # 18.104.22.168 x.acme.com # x client host` # localhost name resolution is handled within DNS itself. # 127.0.0.1localhost # 127.0.0.1localhost
Answer 1, authority 100%
You can just take and check the box Bypass proxy server for local addresses. This is exactly what it is designed for.
Understood. The solution is this. Install XAMPP. We cut down the network, remove the proxy. We start Apache and so on. We connect to the network. In the proxy, we specify not to use a proxy for local addresses. And everything worked.