系统:centos6.5
python:2.7.3
django:1.4.12
centos6.5是最小化安装的系统,后来安装了python2.7.3、django1.4.12接下来是mysql、以及mysqldb。
用django-admin.py建了工程,然后开启服务
python manage.py runserver 0.0.0.0:80
Validating models...
0 errors found
Django version 1.4.12, using settings 'index.settings'
Development server is running at http://0.0.0.0:80/
Quit the server with CONTROL-C.
没有报错,然后用浏览器访问,页面不能访问,但是也没有任何错误信息(如下),控制台也没有任何信息输出,现在没有一点头绪了~~
看起来像是防火墙的事 因为显示的事connection refused
iptables -F
service iptables save 试试
把selinux也关了
已找到问题原因,关闭问题。