Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialCarlos Belnap
4,564 PointsMAMP didn't work, so I tried XAMPP, but I'm getting the same error. Localhost does not display in my browser.
How do I get localhost to work? I've tried everything that was suggested with MAMP. That didn't work, so I've installed XAMPP. Apache shows as running in the console, but when I click "admin" it takes me to a webpage not available screen. What am I doing wrong? Is there some obscure setting on my PC I'm not aware of?
4 Answers
Carlos Belnap
4,564 PointsThanks for your suggestions, but I decided to just cut to a factory reset, then upgraded from Windows 8 to 8.1, and then installed XAMPP and that did the trick!
thomascawthorn
22,986 PointsAlso make sure you're not missing off any required ports at the end of the url.
Logan R might be able recall the default port for MAMP/XAMPP, if any.
Can you also give us the error you're picking up?
Ian Blakeslee
22,154 PointsAlso, make sure that MAMP or WAMP is actually running. There may be an icon for it in your task bar. If you click on it, there should be a menu somewhere that says "put online" and "start all services." Try turning one of those on and see if your localhost address works then.
Zeljko Porobija
11,491 PointsTry with EasyPHP. It's quite easy and installs everything you need. This is not an ad, just telling my own experience.
Logan R
22,989 PointsLogan R
22,989 PointsMake sure any application, such as Skype that uses port 80, is not on.
Edit: Try checking your hosts file to make sure localhost 127.0.0.1 has been added.