02-08-2023, 08:00 AM
Hi,
I want to run a simple web server to get http post request on the RPi from my labtop or phone. It then controls a relay hat.
I made a python script using flask, when i run it from RPi desktop, no pb, ports are all opened and I can receive and send.
So I add it at reboot on the crontab.
The issue is that when I'm on OAP, connections are refused on ports except for the 5000. On this port, my request launch android auto instead of communicate with my flask app.
How could I get it working ?
Thanks in advance.
I want to run a simple web server to get http post request on the RPi from my labtop or phone. It then controls a relay hat.
I made a python script using flask, when i run it from RPi desktop, no pb, ports are all opened and I can receive and send.
So I add it at reboot on the crontab.
The issue is that when I'm on OAP, connections are refused on ports except for the 5000. On this port, my request launch android auto instead of communicate with my flask app.
How could I get it working ?
Thanks in advance.