配置ubuntu配置成桥接,在ubuntu虚拟机中运行django.py开发服务器.windows访问django失败. 虚拟机运行: python manage.py runserver 0.0.0.0:8000 在windows上浏览器进行访问,访问失败. 虚拟机错误提示: DisallowedHost: Invalid HTTP_HOST header: '192.168.1.249:8000'. You may need to add u'192.168.1.249' to ALLOWE