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 127.0.0.7
I want to access my local application running on a local apache server!
It works only with safari !!!!

See More: cannot find localhost

Report •


#1
November 12, 2009 at 06:37:49

localhost is defined as 127.0.0.1

And the point of this is???


Report •

#2
November 12, 2009 at 06:46:00

This has info about the HOSTS file in XP ---
http://www.mvps.org/winhelp2002/hos...
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 •

#3
November 12, 2009 at 06:53:32

Hi,

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?.

Regards


Report •

Related Solutions

#4
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 127.0.0.1
I dont know why you want to change that, because your network card always starts with this. You could change this into 127.0.0.7 to see if it works then.

I wouldnt recommend it


Report •

#5
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
127.0.0.1 localhost. ping with this address runs well


Report •

#6
November 12, 2009 at 07:18:39

should be otherwise you have a faulty networcard ;P

Do you still have any problem?


Report •

#7
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 •

#8
November 12, 2009 at 09:58:18

Hi,

I have a PC running an Apache server.

The hosts file has one entry localhost which refers to 127.0.0.1

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

So your issue is probably not related to Firefox or IE

Regards


Report •


Ask Question