S
S
Spoon in the brain2019-08-17 21:45:11
Network administration
Spoon in the brain, 2019-08-17 21:45:11

Accessing flask app through router?

Good evening, there was a need to see your Flask application through a smartphone, so how to open your application only on the router's local network?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim Shatalov, 2019-08-17
@netpastor

Run it under your local network

if __name__ == "__main__":
    app.run(host='192.168.0.192')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question