Cannot connect to local host

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Cannot connect to local host

Postby dcoffe1 » 31. July 2009 16:19

I have changed the httpd.conf file to listen to 127.0.0.1:80 and have the server name as localhost. I can connect to http://127.0.0.1:80 but not http://localhost. Any ideas?
dcoffe1
 
Posts: 6
Joined: 30. July 2009 05:39

Re: Cannot connect to local host

Postby Wiedmann » 31. July 2009 19:22

Remove the entry "::1 localhost" from your HOSTS file.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Cannot connect to local host

Postby dcoffe1 » 31. July 2009 22:02

excuse my ignorance but where is my HOSTS file?
dcoffe1
 
Posts: 6
Joined: 30. July 2009 05:39

Re: Cannot connect to local host

Postby Izzy » 01. August 2009 04:57

dcoffe1 wrote:excuse my ignorance but where is my HOSTS file?
A search of the files on your PC may find it or try:
C:\WINDOWS\system32\drivers\etc\hosts - drag the file into an open TEXT editor by right clicking the text editor's exe file and selecting to run as an administrator so as to prevent any save file issues in Vista.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: Cannot connect to local host

Postby dcoffe1 » 01. August 2009 05:20

awesome thanks! got everything working.
dcoffe1
 
Posts: 6
Joined: 30. July 2009 05:39


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 132 guests