No web app is loaded http//0.0.0.0:5000/
_ Sorry, I've never written code or anything, I literally have no programming experience and this is the first creation that I decided to attempt to use. _
I ran python graph.py then python app.py then used chrome and mozilla firefox to access both 0.0.0.0:5000 and localhost:8000; got the "This webpage is unavailable" error for both.
What did I do wrong?
I think I got through all the steps (unless SECRET.txt has to be formatted in some different way?); all the information is right and cmd is no longer giving me an error.
Can you post the output, please?
Having the same problem. What output do you need?
Well, if you are sure that fetcher.py and graph.py work correctly you can not post them. So can you post the output of app.py, please?
Restarting with stat Debugger is active! Debugger pin code: 473 - 957 - 672 Running on http://0.0.0.0:5000/ (Press Ctrl+C to quit)
Well, I see no errors. So are you sure about SECRETS.txt? When you execute fetcher.py, do you see some informations or something else?
I'm not exactly sure about SECRETS.txt; I found and copied the clientid, uid, and cookie from 10 digit code using copy cURL (cmd) on facebook.com/pull.. etc, where they were:
- client-id= ___
- cookie = 'datr=; lu=; ally=; c_user=; fr=;xs=; csm=______, s= _, p=, act=; presence=' (I didn't put in the --compressed part)
- uid=____
Is this wrong?
I see the csv files and I can open them with the data in it.
Well, it is like mine. And mine works, so at this point I don't know how to help you.
Got it; found it on localhost:5000
Instead of going to 0.0.0.0:5000, try 127.0.0.1:5000 or localhost:5000
In my case another application was ussing the port 5000 so I changed in my code to port 5040 and try localhost:5040, works for me!
in program.cs change: if (isDevelopment) webHost = webHost.UseKestrel().UseUrls("http://0.0.0.0:5000");
TO: if (isDevelopment) webHost = webHost.UseKestrel().UseUrls("http://127.0.0.1:5000");
Instead of going to 0.0.0.0:5000, try 127.0.0.1:5000 or localhost:5000
Yeah 0.0.0.0 isn't a routable address. When something says "Running on http://0.0.0.0:5000", it means that it's listening to port 5000 on all IPs, and you should actually use a real IP or hostname to access it, not literally go to 0.0.0.0:5000 in your browser.
I too faced similar issue, was able to fix it by replacing:
app.run(debug=False)
with
app.run(host='0.0.0.0', debug=False)
If multiple hosts, then host = list(str(