Forum Moderators: phranque
when I enter the address in address bar of my browser, after some time of waiting, firefox, displays this message:
The requested URL could not be retrieved
While trying to retrieve the URL: [localhost.com...]
The following error was encountered:
We can not connect to the server you have requested.
This means that:
* The server might be busy at this time.
* The server is not reachable.
Please try later to see if you can go through.
Generated Thu, 26 Mar 2009 16:06:36 GMT by ApartmentProxy (Application and Content Networking System Software 5.5.9)
****************************************************************
and in IE, this:
Internet Explorer cannot display the webpage
Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.
****************************************************************
anyone any idea?
It looks like you are using some non-standard software to connect to the Internet. Do you have a standard router and a modem, or something else?.
Also, is "ApartmentProxy" an application installed on your computer? If so, you may not be able to fix this problem unless you can get that software fixed or remove it...
Jim
What changed? If it used to work but no longer works, then something changed that caused the problem. Any ideas what that might have been?
I'd recommend searching for and checking your "hosts" file -- that is its name, just "hosts" with no file extension. It is usually in a protected directory below c:\windows
The hosts file *defines* the IP address for "localhost", and usually points it to the IP address 127.0.0.1 which is the standard "loopback" IP address which always means "this computer right here." It is possible that malware has modified the hosts file.
Another problem might be that you've installed a program such as Skype which also connects to port 80, thereby making it impossible for Apache to connect.
Jim
one of them is from this location of windows:
C:\WINDOWS\System32\drivers\etc
which has the content:
# Copyright (c) 1993-2006 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:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
::1 localhost
*****************************************************
the other one is from this location C:\WINDOWS\winsxs\x86_microsoft-windows-w..nfrastructure-other_31bf3856ad364e35_6.0.6000.16386_none_024e4071fa6fea95
where has this content:
# Copyright (c) 1993-2006 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:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
::1 localhost
*******************************************************************
The result of that missing entry is likely that any attempt to access "localhost" is being made using IPv6, which is not yet well-supported.
A modified hosts file can be a potentially-serious sign of trouble. So before editing that hosts file, look at the file creation and modification dates (set the "Detailed" View mode in Windows explorer, and enable both the creation and modification date display). Also, set Windows Explorer to always show file extensions. If the first hosts file has been recently modified, then that is a sign that either malware or perhaps a roommate or associate has been tampering with your machine. I also strongly suggest that you get and install a good anti-virus solution if you don't have one (there are free ones available for personal use from Avira, Avast, and AVG, for example), and download, install, and run MalwareBytes Anti-Malware to scan your machine for malware. Download these programs only from the official makers' sites or from links provided on their sites!
Jim