Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


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,693 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.