Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web app does not load #6

Open
afshaanmaz opened this issue Dec 24, 2019 · 0 comments
Open

web app does not load #6

afshaanmaz opened this issue Dec 24, 2019 · 0 comments

Comments

@afshaanmaz
Copy link

I get 404 errors when launching server.py. The app seems to be running fine but does not appear on the browser
$export FLASK_APP=server.py
$flask run

* Serving Flask app "server.py" (lazy loading)
 * Environment: development
 * Debug mode: on
 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
 * Restarting with stat
 * Debugger is active!
 * Debugger PIN: 268-107-485
127.0.0.1 - - [23/Dec/2019 18:56:14] "GET / HTTP/1.1" 405 -

Also, I get the following 'connection refused' error when running request.py

requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x10c189f50>: Failed to establish a new connection: [Errno 61] Connection refused'))


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant