Y
Y
Yupiter75752021-05-10 22:56:13
Flask
Yupiter7575, 2021-05-10 22:56:13

Will a local flask server run on different computers on the same wifi network?

The customer asked to create a website for use in the office over a local area network. He also noted that I can choose the technology of the site myself - well, I decided to choose flask. Actually, the project is already ready, and now I'm wondering if the flask server will work on different office computers connected to the same wifi? If the server understands what they want from it, it will be great, otherwise, can you send an article/documentation where you can read about setting up flask?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yupiter7575, 2021-05-10
@yupiter7575

Yes, I'm answering my own question. If you google for 10 minutes, you will come across the same questions 5. Everywhere the answer lies in what you need to enter in the run method host='0.0.0.0'and follow the localhost alias . In my case, it didn't work... and after googling for another 15 minutes, I came across a cool dude who said that you need to enter in the host, the ip address of the machine from which it starts. In my case, it looks like this: host='192.168.1.4'and you need to navigate accordingly, too, along it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question