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
When i go to localhost it won't work but when i go to 127.0.0.1 it work
Posted by:
markox123
(---.dynamic.isp.telekom.rs)
Date: April 14, 2012 09:29PM
I go on google chrome and type localhost then i press enter it sys:
Forbidden
You don't have permission to access / on this server.
but when i go to 127.0.0.1 it work
Options:
Reply
•
Quote
Re: When i go to localhost it won't work but when i go to 127.0.0.1 it work
Posted by:
RiggsFolly
(---.as13285.net)
Date: April 17, 2012 01:53PM
Check that your HOSTS file has
127.0.0.1 localhost
Hosts file lives in C:\windows\system32\drivers\etc\hosts
You will need to launch your editor "As Administrator" as this file is protected by the OS and you may also need to remove the readonly attribute from this file
> attr -r hosts
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