I am on my final project and i have a simple flask app and and index html template. There are no errors in my app, however when i run flask,
flask run, it says
Running on http://127.0.0.1:5000/ (Press CTRL+C to quit). But when i landed on that page, i get a:
This site can’t be reached 127.0.0.1 refused to connect.
then i went online and searched for a similar problem like the one here.
So i ran
flask run --host=0.0.0.0 --port=8080, and this time it said:
This page isn’t working 0c4c5d63-0061-4153-a69e-b033f15e1099-ide.cs50.xyz didn’t send any data.
I am able to access
127.0.0.1 through a different program like Sublime text 3, which i use for my flask development. But i am building an app with a database and i prefer using the CS50 IDE which i am familiar with. But i can't seem to get it running.