cannot find localhost

November 12, 2009 at 06:33:37
Specs: Windows XP SP3

IE Explorer,6,7,8 and Firefox cannot find localhost (localhost is defined in the host table as
I want to access my local application running on a local apache server!
It works only with safari !!!!

See More: cannot find localhost

Report •

November 12, 2009 at 06:37:49

localhost is defined as

And the point of this is???

Report •

November 12, 2009 at 06:46:00

This has info about the HOSTS file in XP ---
Blocking Unwanted Parasites with a Hosts File

I have done this to eliminate my XP from using HOSTS ---
In Windows XP, I have done this, and no popups--
* Start | Run (type) "services.msc" (no quotes)
* Scroll down to "DNS Client", Right-click and select: Properties
* Click the drop-down arrow for "Startup type"
* Select: Manual, click Apply/Ok and restart.
(IF you are the only PC user, and not part of a domain.)
That also eliminates one SVCHOST process in Task Manager.

Report •

November 12, 2009 at 06:53:32


What are you trying to do.

Localhost is the PC itself - it is the loopback interface.

Are you running a web server on your PC?.


Report •

Related Solutions

November 12, 2009 at 06:53:37

What you could do if you need to connect to localhost is to search for the hosts file in C:\WINDOWS\system32\drivers\etc\

In that hostsfile it should say localhost
I dont know why you want to change that, because your network card always starts with this. You could change this into to see if it works then.

I wouldnt recommend it

Report •

November 12, 2009 at 07:01:18

Thank-You for your responce.
I have running a apache server on my PC and i need to run the application as http://localhost/...
The host file is allredy changed and contains localhost. ping with this address runs well

Report •

November 12, 2009 at 07:18:39

should be otherwise you have a faulty networcard ;P

Do you still have any problem?

Report •

November 12, 2009 at 09:33:30

I think my network card is OK! I can connect to the internet and do everything!
I defined local instead of localhost and it is working!
Safari is an other browser and localhost works there well!!!
I believe it is a windows operating system (may be a windows firewall setting) but i don't now where!
Thank You to everybody!

Report •

November 12, 2009 at 09:58:18


I have a PC running an Apache server.

The hosts file has one entry localhost which refers to

Entering http://localhost in Firefox or IE8 brings up the default web page.

So your issue is probably not related to Firefox or IE


Report •

Ask Question