|
Home > Archive > Web Servers on Windows > December 2005 > http://localhost
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| Hello!
I have installed XAMPP to learn PHP. But the first problem my apache doen't
answer at http://localhost it is only working at http://127.0.0.1
How can I fix that.
Thanks
Kurt
| |
| Kees Nuyt 2005-12-16, 5:53 pm |
| On Fri, 16 Dec 2005 01:00:55 +0100, "Kurt"
<kurt.sima@onemail.at.nospam> wrote:
>Hello!
>I have installed XAMPP to learn PHP. But the first problem my apache doen't
>answer at http://localhost it is only working at http://127.0.0.1
>How can I fix that.
Assuming you are using Windows XP, add the line:
127.0.0.1 localhost
to the file: C:\WINDOWS\SYSTEM32\DRIVERS\etc\hosts
>Thanks
>Kurt
I hope this helps.
--
( Kees
)
c[_] A positive attitude may not solve all your problems, but it
will annoy enough people to make it worth the effort. Herm
Albright (1876 - 1944) (#177)
| |
|
| Thanks for Your help.
> Assuming you are using Windows XP, add the line:
> 127.0.0.1 localhost
> to the file: C:\WINDOWS\SYSTEM32\DRIVERS\etc\hosts
I looked at my hosts file and found that information. But then I recognized,
I put off the network cable. My NIC had no IP-Adress. When I connected it
again, everything was working. But why dose the NIC loose the IP-Adress wenn
the cable ist put off. I thougt I could learn php unconnected.
Kurt
| |
| Phil Frisbie, Jr. 2005-12-19, 5:54 pm |
| Kurt wrote:
> Thanks for Your help.
>
>
> I looked at my hosts file and found that information. But then I
> recognized, I put off the network cable. My NIC had no IP-Adress. When I
> connected it again, everything was working. But why dose the NIC loose
> the IP-Adress wenn the cable ist put off. I thougt I could learn PHP
> unconnected.
This is a Microsoft "improvement" that happens to violate the TCP/IP protocol.
It is formally called "media sense", and it can be disabled by a registry entry.
This has been covered many times here and in other news groups, so search for
the fix. It is easy to find.
--
Phil Frisbie, Jr.
Hawk Software
http://www.hawksoft.com
| |
| indiaan 2005-12-23, 7:49 am |
| About the same problem. Installed Apache carefully, but no answer at
http://localhost nor http://127.0.0.1. And I'm using windows ME.
Earlier I used phpdev, but after moving to broadband this only worked
after setting of the modem.
Thanks for any help,
Jan
|
|
|
|
|