I created the django app and hosted the same on my laptop which was connected to my android mobile hotspot.
Then I got the IP of my machine, using ipconfig
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::2d4e:f2c4:bc88:e67e%5
IPv4 Address. . . . . . . . . . . : 192.168.43.69
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.43.1
then I added the same to
ALLOWED_HOSTS = ['192.168.43.69']
and ran the server using
python manage.py runserver 192.168.43.69:8000
now when I am accessing the same on my laptop, I am able to access the device but when I am trying to access the same on my mobile device I am getting the same typical chrome connection error
The site can't be reached
192.168.43.69 took too long to respond
ERR_CONNCTION_TIMED_OUT
How can I resolve the same?