Cannot access localhost nor 127.0.0.1 in IE and Firefox

Just recently, probably after some Windows update (I'm not sure) I can no longer access my Apache server on port 80 by entering http://127.0.0.1 in IE (6.0 SP3) nor in FireFox (3.0.10) on my laptop.

 IE displays a "page not found" error about server or DNS not being found, whereas Firefox says nothing. I can access the full internet (via my LAN and router) without the slightest problem. I have also checked that %SYSTEM32%/Drivers/etc/Hosts has a 127.0.0.1 localhost entry (which at first it didn't - just an empty file, so it MUST have been updated or overwritten).

When I telnet localhost 80 and type the GET request, Apache replies OK, and from outside everything works fine.

But locally I cannot access 127.0.0.1 port 80 via HTTP

Any ideas?
LVL 27
BigRatAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

netbonesCommented:
Go to a command prompt and type:

netstat -rn

Publish the results.

You can also completely reset your TCP/IP configuration by going to a cmd prompt and do the following:

netsh interface reset all <enter>

0
BigRatAuthor Commented:
C:\temp>netstat -rn

Routingtabelle
===========================================================================
Schnittstellenliste
0x1 ........................... MS TCP Loopback interface
0x10003 ...00 16 36 a1 7e b3 ...... Realtek RTL8139/810x Family Fast Ethernet NI
C - Paketplaner-Miniport
===========================================================================
===========================================================================
Aktive Routen:
     Netzwerkziel    Netzwerkmaske          Gateway   Schnittstelle  Anzahl
          0.0.0.0          0.0.0.0     172.20.1.254   172.20.107.22       20
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
       172.20.0.0      255.255.0.0    172.20.107.22   172.20.107.22       20
    172.20.107.22  255.255.255.255        127.0.0.1       127.0.0.1       20
   172.20.255.255  255.255.255.255    172.20.107.22   172.20.107.22       20
        224.0.0.0        240.0.0.0    172.20.107.22   172.20.107.22       20
  255.255.255.255  255.255.255.255    172.20.107.22   172.20.107.22       1
Standardgateway:      172.20.1.254
===========================================================================
Ständige Routen:
  Keine

C:\temp>
0
BigRatAuthor Commented:
What is interesting is that ping localhost or ping 127.0.0.1 works OK, the same when I do a telnet localhost 80 and enter a GET request. All OK. Moreover when I use a bit of Delphi code and open an internet connection using InternetOpen/InternetOpenUrl/InternetREadFile that all works perfectly. Only IE and FireFox don't, and I've just upgraded to IE 8.0!
0
BigRatAuthor Commented:
This has turned out to be a Trojan which was sucessfully removed by the Malwarebytes free program.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.