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 trialmouhamadoudiouf
14,915 PointsServer not working
Hello, I tried to set up my server in accordance with the teacher's video, but it doesn't work on port 3000. Can someone please help me? The workspace is https://w.trhou.se/8fxal9y3im Thank you!
mouhamadoudiouf
14,915 PointsI modified the workspace link. Thank you
4 Answers
Steven Parker
231,248 PointsI tried running your app.js, and once it indicated the server was running, I had no trouble establishing a preview connection. The preview page shows:
Hello World
Goodbye World
And yes, I was using port 3000.
mouhamadoudiouf
14,915 PointsThanks for your answer, but I am still getting a problem with my computer. Its printing exactly: "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"
My workspaces are not full, I have just used 50 or 60 out of 100. Could you explain me why?
Steven Parker
231,248 PointsI can tell you that's the message I see before I run the app.js, but once the app is running I get the page as expected.
mouhamadoudiouf
14,915 PointsYes! This is working! I didn't know this step. Thanks so much for your help.
mouhamadoudiouf
14,915 PointsThank you!
Kortney Field
14,091 PointsHow do you get your app to run so that the preview button works?
Steven Parker
231,248 PointsSteven Parker
231,248 PointsThat's a "live" workspace URL, and is only temporary. For a persistent one, use the snapshot function (the camera icon).