I want to deploy my flask server over my LAN. So that I can access it from other machines. I tried using app.run(host='0.0.0.0', port=9090)
and that kind of stuffs. Even I tried using my my IPV4 address and changing the port again and again. But nothing works.I'm unable to use it from other machines which are connected across my LAN.Can anyone help me get out of it.Thanks in advance.
Asked
Active
Viewed 34 times
0

Animesh Mondal
- 37
- 2
-
You might need to open that port in your firewall. – mechanical_meat Mar 23 '21 at 04:03
-
Use Ngrok to make your local server accessible to the outside world, P.S. use this only for development purposes. – neilharia7 Mar 23 '21 at 04:05
-
Can you please explain it some more detail ? @neilharia7 – Animesh Mondal Mar 23 '21 at 04:27
-
@AnimeshMondal https://ngrok.com/ use this.. make ur local server like a real server, then u can use ur localhost outside ur computer – ken Mar 23 '21 at 05:00