Maria
Maria

Reputation: 21

Localhost not working on XAMPP 1.7.7 for Windows 7

My xampp installation 1.7.7 does not seem to work. http://localhost returns search results on localhost

XAMPP instaled in C:\xampp

Xampp Control panel shows both mysql & apache service running fine.

Changed Skype internet connection settings (Tools-Options-Advanced-Connection panel and deselected the "Use 80 and 443 as alternatives for incoming connections")

I'am on windows 7.

Turned IIS off ( Control Panel-­System and Security-Administrative Tools-Internet Information Services Manager-Manage Server- Stop)

Thanks a lot.

Upvotes: 2

Views: 11422

Answers (2)

Onimusha
Onimusha

Reputation: 3385

For me it was a different problem. The following fixed it for me. Thought I'd share

Open: xampp/apache/conf/extra/httpd-vhosts.conf

And check the line: DocumentRoot path/to/home/dir

For me this was pointing to default location so I had to change it to my custom location.

Restart Apache and you're done

Upvotes: 0

Max
Max

Reputation: 842

As I saw this is common "problem" for Windows 7 and VIsta - in some cases these systems doesn't know 'localhost'. Try use http://127.0.0.1 or add one line to file C:\Windows\System32\drivers\etc\hosts This line is:

127.0.0.1             localhost

Upvotes: 3

Related Questions