ALLOWED_HOSTS = ['*'] or ALLOWED_HOSTS = ['192.168.{}.{}'.format(i,j) for i in range(256) for j in range(256)] python manage.py runserver 0.0.0.0:8000 Eg. 192.168.1.190:8000