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


Mphammad Arifi
Mphammad Arifi
147 Points



Got activated XAMP, everything and port number is fine, but still can't get into localhost, says: This site can’t be reached

localhost refused to connect. Did you mean http://locallhost.com/? Search Google for localhost ERR_CONNECTION_REFUSED Any Answer please?

Simon Coates
Simon Coates
28,694 Points

I presume your assessment that it's running is based on the xampp control panel. I know it sounds dumb to ask, but i remember thinking something had gone wrong with xampp when i first started to use it - checking the port in the settings etc. With me, i had issues with xampp shutting down once it found skype had locked up a particular port. (sorry if this is obvious, but treehouse users differ a lot in terms of their technical expertise).

1 Answer

Joe Schultz
Joe Schultz
6,191 Points

Did you try http://localhost ? In some browsers, if you type in simply localhost, it will try to Google the word "localhost". Also, make sure XAMP is running when you try to view the localhost on your browser.