Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
It helped me to add my ip adress (find out via ipconfig on windows) to ALLOWED_HOSTS in settings.py, start the server on it (python manage.py runserver address) and you can go to this address from the phone
Well, it's enough that they are on the same subnet - for example, both devices are connected to the same router.
Or VPN. Then you can send any requests to each other. From the client, you need to know which ip to send the request to - either hardcode the ip of the server on the local network in the client, or, for example, write ip and the server host in the /etc/hosts file (for this you need to have root on android, about ios not I'll give you a hint, but I don't think it will be easy)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question