http://localhost/ not working with EasyPHP

Webnet picture Webnet · Mar 4, 2011 · Viewed 56.1k times · Source

I've verified my host file in windows/system32/drivers/etc/ has an entry for localhost in it, but it's not going anywhere. I have to have a port number in the URL: http://127.0.0.1:8888/

Is there anything I can do to get localhost working without the need for a port number?

Answer

Nico picture Nico · Nov 12, 2012

For windows 8 users, you should also make sure that you are running it as administrator.

Right click on easyPHP shortcut and change the compatibility setting to always run as administrator.

After this, make sure the "httpd.conf" file in "C:\Program Files (x86)\EasyPHP-12.1\conf_files"

Has this line in it:

Listen 127.0.0.1:80

To verify that you had my problem, check 127.0.0.1:8887/