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

JavaScript Asynchronous Programming with JavaScript Asynchronous JavaScript with Callbacks Async Programming and Callback Functions

Damian Szymanski
Damian Szymanski
11,843 Points

What port can I view this project on?

Hello! When I try to preview the workspace it opens a dropdown menu of ports. When I click on one of the ports it opens a new tab and states: "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."

Any Solutions?

Thanks, Damian.

1 Answer

Owen Bell
Owen Bell
8,060 Points

Hi there! First of all, top notch profile pic - woofermelon is a good boy.

By any chance, are you using node.js for your Workspace template? The node.js template is configured so that JavaScript can be run in the local terminal - I believe the preview options exist to allow you to set up your own web server in node.js and run your files on the port you have specified your preview client should listen to. Without specifying a port and running a node server this way, you'll encounter this issue.

Try creating a new workspace using the HTML 5.0 boilerplate, or simply a blank workspace. You should find that it will work as expected.