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.
Preview button not working in Workspace for this project? (index.html)
Within the Workspace, is it possible to use the Preview button (the "eye" icon) for this project (for example, for index.html)?
When I click it, first I'm presented with a drop-down list of possible ports to use. Regardless of which port I choose, I get the following error:
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.
(the example URL in this case is http://port-8080-z9pppud99s.treehouse-app.com/)
Thanks in advance for any guidance!
Erez Lieberman11,004 Points
in the next lesson (here: https://teamtreehouse.com/library/build-a-simple-dynamic-site-with-nodejs/creating-a-simple-server-in-nodejs/creating-a-simple-server) , you create the server by port and then you can use the Preview in Workspace.