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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Kylie Soderblom](https://secure.gravatar.com/avatar/ac7a7005a02bfa9d282f12f8fadb53b3?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Kylie Soderblom
3,890 PointsI can't preview using localhost:3000. "This site can’t be reached localhos refused to connect."
I do get the "Server running on http://<workspace-url>/". If I use the eye icon and choose 3000 then I get a page that says: Workspace Unavailable This is a preview link for a Treehouse Workspace that is not currently active.
If you are the workspace owner, you can launch it again via the Treehouse site.
1 Answer
![Joakim Rylander](https://secure.gravatar.com/avatar/6decb87e4050ad4e20f79af96bdd6496?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Joakim Rylander
4,821 PointsI tried CodePen since I also have issues, but Codepen does NOT recognize the "require" keyword. Think that's more NodeJS. Couldn't find if you can run Node JS in CodePen though...
Mark Casavantes
2,880 PointsMark Casavantes
2,880 PointsGood Morning Kylie,
May I suggest you copy your code into codepen.io and run it there. Click on the red circles with an exclamation mark to locate errors. Codepen.io is free.
I hope this is helpful.