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 trial

General Discussion

localhost/ wtf???

I still don't get how nick is using this in his browser...I'm just not understanding how to accomplish this task opening my browser then type: localhost/ just says"safari failed to open page". hmm if somebody understands please help! lol

Have you installed a development environment like MAMP?

4 Answers

For starters, are you typing in "localhost:8888"?

No, I don't even understand how localhost:8888 differs from localhost/. I'm not experienced at all this stuff so, naturally I'm lost on this topic sorry. I tried what you said it still says safari can't find page. Idk I'm confused...

Assuming that your a mac user by your logo, download MAMP (search google) for starters. Get the free version. Download it. Then go into the MAMP application you just downloaded and "start the servers" (although when you launch the app they usually start automatically). Then search your computer for a folder named "htdocs", then drag all of your project files into this "htdocs" folder. Finally you type in "localhost:8888" and your folders should be linked inside here.

Ok, thx I'll try it! I downloaded this program last night but, other guy didn't mention all those steps so, thx again!

Your welcome:)

Hey, here's a screenshot of what happens when I launched WAMP for the treehouse project files. it does the same thing as Nick's but, doesn't show "localhost" on URL bar...does it really matter??? /Users/LoweJunglegrove/Desktop/Screen Shot 2014-04-20 at 7.48.56 PM.png

James Ingmire
James Ingmire
11,901 Points

You need MAMP not WAMP for mac pc. Your link does not work by the way.

lol my bad I mean't MAMP not WAMP.

James Ingmire
James Ingmire
11,901 Points

Once downloaded open and run (start) the Apache and Mysql modules.

Go to browser enter: http://localhost/xampp/ - although for windows so presume: http://localhost/mamp/ or ports 8888 and 8889 e.g. http://localhost:8888/mamp/ not sure tho as not used on mac yet:(