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 access not working #17

Open
rpedrica opened this issue Jun 28, 2023 · 2 comments
Open

Web access not working #17

rpedrica opened this issue Jun 28, 2023 · 2 comments

Comments

@rpedrica
Copy link

rpedrica commented Jun 28, 2023

Hi Jake

If I use http://localhost:8080/ then I get:

No email address provided

If I use http://localhost:8080/index.html then I get:

The requested URL was not found on the server

CLI log:

python3 poastal.py
 * Serving Flask app 'poastal' (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: on
 * Running on http://127.0.0.1:8080 (Press CTRL+C to quit)
 * Restarting with stat
 * Debugger is active!
 * Debugger PIN: xxx
127.0.0.1 - - [28/Jun/2023 12:10:05] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [28/Jun/2023 12:10:05] "GET /favicon.ico HTTP/1.1" 404 -
127.0.0.1 - - [28/Jun/2023 12:43:55] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [28/Jun/2023 12:44:07] "GET /index.html HTTP/1.1" 404 -
127.0.0.1 - - [28/Jun/2023 12:46:42] "GET / HTTP/1.1" 200 -

Can you assist?

Regards, Robby

@EncryptEx
Copy link

Hi, you don't have to enter to http://127.0.0.1:8080/index.html, instead, click and open into your browser the index.html file, (not hosted). It's counterintuitive, but it does work this way

@rpedrica
Copy link
Author

Thanks very much - that did the trick.

Robby

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

2 participants