Question:
I have a Flask project that cannot be viewed from the webview, The Flask is running nicely. Is there any trouble with the replit servers or there was a new feature?
Replit Profile: https://replit.com/@choriegojose
Question:
I have a Flask project that cannot be viewed from the webview, The Flask is running nicely. Is there any trouble with the replit servers or there was a new feature?
Replit Profile: https://replit.com/@choriegojose
Hi @choriegojose. Try looking for ‘webview’ in the tools section of the IDE:
Then click it to open the webview tab.
Please do ask if you need further help
Please also note that your Flask server must run on host 0.0.0.0
in order for it to work correctly, or you will get the below error:
So your app.run()
should look like this:
app.run(host='0.0.0.0')
If any of these solutions have helped you, please mark it as a solution.