Question

mrdh's avatar

Can access 127.0.0.1 but not localhost?

Asked by mrdh (472points) | asked January 10th, 2009 | 3 responses | “Great Question” (0points) | Flag as…

I installed XAMPP successfully, but for some reason I can only access it via 127.0.0.1 and not localhost. Anyway I can solve this?

Observing members: 0 Composing members: 0

Answers

Vincentt's avatar

What operating system are you on?

philo23's avatar

mmm, sounds like your HOSTS file doesn’t have localhost listed in it. i’m not sure exactly how but i think you just need to add “localhost<tabspacehere>127.0.0.1” and that should make localhost point to 127.0.0.1, and if i remember rightly, the HOSTS file on windows is inside C:\windows\

Good luck.

nightclaw's avatar

“Have you tried turning it off and on again?”
seriously switch off the networking in device manager and bring it up again. I can’t think of a way to accidently get rid of the loopback in hosts.

Answer this question

Login

or

Join

to answer.
Your answer will be saved while you login or join.

Have a question about something? Ask Fluther!