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

Python

Lars Holmberg
Lars Holmberg
19,949 Points

Flask Basic Workspace preview is Unavailable even after just launching it

After launching the workspace and going to preview (using port 8000 as in the video and in the app.run in simple_app.py) I'm met by this message:

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.

I created a copy of the workspace and forked it so it can be found here: https://teamtreehouse.com/workspaces/41991295 to hopefully help in the resolution of this issue.

2 Answers

Hi there Lars Holmberg !

I know it's been a while since you posted this, but do you by chance have the link to the video with the broken workspace? I can look into it!

Seth Foss
Seth Foss
7,097 Points

I was having the same issue - somehow the host in the Flask run call got switched to '127.0.0.1' instead of '0.0.0.0' (the localhost IP is correct for running Flask in your own IDE, but Workspaces requires '0.0.0.0')