[Python] Unable to connect to Flask local server

Discussão em 'Python' iniciado por Stack, Março 24, 2025.

  1. Stack

    Stack Membro Participativo

    I'm trying to build an web app with python and Flask. I started working on it on Ubuntu and it works so far.

    However, pulling the project into an windows environment with the same prerequisites installed does not work. More detailed, the run output looks quite alright

    * Serving Flask app "main" (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
    * Restarting with stat
    * Debugger is active!
    * Debugger PIN: 239-929-141
    * Running on http://0.0.0.0:8080/ (Press CTRL+C to quit)


    [​IMG]

    But when accessing 0.0.0.0:8080 the browser is unable to reach it. And there's no more output related to what's happening.

    I tested this also with the basic hello world flask app and the result is the same (on windows). Any idea if the OS is the problem here? or what else could it be?

    Continue reading...

Compartilhe esta Página