J
J
Jek2020-06-26 22:10:33
Flask
Jek, 2020-06-26 22:10:33

How to make a web application available on the local network?

Hello. I made a small web application, and I run it on my computer, it is available in my browser at 127.0.0.1:5000/. How to make it available to other computers on the local network?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
Jek, 2020-06-26
@jotrib

Found the answer, it was necessary to run with the --host=0.0.0.0 parameter (like flask run --host=0.0.0.0)

V
Vladimir Korotenko, 2020-06-26
@firedragon

run it at 192.168.0.1:5000/,

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question