WampServer
Apache, PHP, MySQL on Windows
Home forum
Back to WampServer
presentation
Downloads
Addons
Trainings
Alter Way
Go to Topic:
Previous
•
Next
Go to:
Forum List
•
Message List
•
New Topic
•
Search
•
Log In
•
Print View
127.0.0.1 works but localhost does not
Posted by:
angelman7
(---.hsd1.nm.comcast.net)
Date: May 18, 2008 06:21AM
I just installed Wampserver, and everything seems to be running if I point my browser to [
127.0.0.1
]. However, if I go to [
localhost
] I get a "page cannot be displayed" error. Any ideas?
Options:
Reply
•
Quote
Re: 127.0.0.1 works but localhost does not
Posted by:
stevenmartin99
(---.b-ras1.blp.dublin.eircom.net)
Date: May 18, 2008 08:12AM
goto C:\WINDOWS\system32\drivers\etc
open the file 'hosts' in notepad
and make a like this if there is not one
127.0.0.1 localhost
or delete
::1 localhost
if you see it
Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [
pampserver.com
]
Edited 1 time(s). Last edit at 05/18/2008 04:10PM by stevenmartin99.
Options:
Reply
•
Quote
Re: 127.0.0.1 works but localhost does not
Posted by:
angelman7
(---.hsd1.nm.comcast.net)
Date: May 18, 2008 03:59PM
Ah...it was the "::1 localhost" and I should have spotted it.
Thanks!
Options:
Reply
•
Quote
Re: 127.0.0.1 works but localhost does not
Posted by:
stevenmartin99
(---.b-ras1.blp.dublin.eircom.net)
Date: May 18, 2008 04:09PM
no problem , your welcome
Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [
pampserver.com
]
Options:
Reply
•
Quote
Re: 127.0.0.1 works but localhost does not
Posted by:
megha
(---.223.160.122.airtelbroadband.in)
Date: May 20, 2008 11:09AM
Hi Steve
I was facing the same problem. But 127.0.0.1 localhost was already present in hosts file.
Earlier i had IIS server mapped to localhost, but i stopped its services.
Please help me out !!
Options:
Reply
•
Quote
Re: 127.0.0.1 works but localhost does not
Posted by:
yfastud
(Moderator)
Date: May 20, 2008 02:59PM
After stop IIS, clear your browser cache, restart computer and try again
Have fun,
FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides
Options:
Reply
•
Quote
Go to:
Forum List
•
Message List
•
Search
•
Log In
Sorry, only registered users may post in this forum.
Click here to login