Hello,
This my first try with hosting python web app somewhere else than on my local computer. My app seems to work fine locally when I run the command "python flask_app.py". I can access to my rest API through 'http://127.0.0.1:5000'.
But after having deployed it on PAW, I can't make it work. It seems that I don't need to run any command to make the server up, but when I try to access my app through '<username>.pythonanywhere.com' I got the "Something went wrong :-(" page.
By the way, how can I know the port on which the flask server is running ?
[edit by admin]
- for anyone coming across this thread from a google search, this help page has some common debugging tips for dealing with "something went wrong" errors: https://help.pythonanywhere.com/pages/DebuggingImportError