You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'))
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: