Page 1 of 1

Failing to Connect (Tried # ::1 localhost)

PostPosted: 29. March 2009 04:17
by jwj11
http://community.apachefriends.org/f/viewtopic.php?p=138586#p138586

Ok I've read that thread and I have the exact same problem.

The thing is I edited the textfile host with a line that shows # ::1 localhost but I still cannot connect to localhost. What's wrong???

Please help me. Here are some screenshots I took...

Image
Image
Image
Image
Image

Re: Failing to Connect (Tried # ::1 localhost)

PostPosted: 29. March 2009 05:25
by Izzy
First Image:
Your XCP looks normal, everything running and the Svc boxes ticked indicating they are running as a service.

Second Image:
The address is:
http://localhost/
Not
http://www.localhost.com

Third Image:
Is correct and this will be the page you get when you correct the address in Second image.
BTW what version of XAMPP did you say you had?
It looks like 1.4.16 - something which is very old, next version is 1.7.1 due for release soon.
Unless you need this version specifically then I advise to install the new version when released.

Fourth Image:
Is showing the ports occupied by the SYSTEM which in Vista indicates they are occupied by a service as indicated in First image with the Svc boxes checked.

Fifth Image:
Is missing an entry 127.0.0.1 localhost which should be the first entry above the
# ::1 localhost entry - so you need to add this, then save the file.

Doing all that should have you up and running again and please let us know back, thanks.

BTW thanks for the clear detailed post, which made it very easy to troubleshoot, I wish more members would do the same as my crystal ball is just about worn out. :D

Only Windows version and XAMPP version missing but I was able to deduce those from the images.

Re: Failing to Connect (Tried # ::1 localhost)

PostPosted: 29. March 2009 06:04
by jwj11
Woohoo got it to work.
Yeah the screen shot I took for localhost.com is wrong. I tried http://localhost but that doesn't work either.

The problem was that I used "# 127.0.0.1 localhost" instead of "127.0.0.1 localhost"

Thanks again so much and I'm glad that I helped you help me easier.

Re: Failing to Connect (Tried # ::1 localhost)

PostPosted: 29. March 2009 06:31
by Izzy
Your welcome and now I hope you can enjoy your XAMPP experience.

Good luck.