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.

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