I installed the django 1.10.2 on Centos, after I started a project and run the "python manage.py migrate", then run "python manage.py runserver", it shows:
[root@pet1jenkins testsite1]# python manage.py runserver
Performing system checks...
System check identified no issues (0 silenced).
October 08, 2016 - 10:59:19
Django version 1.10.2, using settings 'testsite1.settings'
Quit the server with CONTROL-C.
Everything seems OK but my browser could not access the webpage.
Then I use telnet 127.0.0.1 80 ; connect is OK, I enter GET /, no response; then I enter return key, it shows:
[root@pet1jenkins ~]# telnet 10.69.2.134 8000
Trying 10.69.2.134...
Connected to 10.69.2.134.
Escape character is '^]'.
GET /
<!DOCTYPE html>
<html lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="robots" content="NONE,NOARCHIVE"><title>Welcome to Django</title>
<style type="text/css">
html * { padding:0; margin:0; }
body * { padding:10px 20px; }
body * * { padding:0; }
body { font:small sans-serif; }
body>div { border-bottom:1px solid #ddd; }
h1 { font-weight:normal; }
h2 { margin-bottom:.8em; }
h2 span { font-size:80%; color:#666; font-weight:normal; }
h3 { margin:1em 0 .5em 0; }
h4 { margin:0 0 .5em 0; font-weight: normal; }
table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; }
tbody td, tbody th { vertical-align:top; padding:2px 3px; }
thead th {
padding:1px 6px 1px 3px; background:#fefefe; text-align:left;
font-weight:normal; font-size:11px; border:1px solid #ddd;
}
tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; }
#summary { background: #e0ebff; }
#summary h2 { font-weight: normal; color: #666; }
#explanation { background:#eee; }
#instructions { background:#f6f6f6; }
#summary table { border:none; background:transparent; }
</style>
</head>
<body>
<div id="summary">
<h1>It worked!</h1>
<h2>Congratulations on your first Django-powered page.</h2>
</div>
<div id="instructions">
<p>
Of course, you haven't actually done any work yet. Next, start your first app by running <code>python manage.py startapp [app_label]</code>.
</p>
</div>
<div id="explanation">
<p>
You're seeing this message because you have <code>DEBUG = True</code> in your Django settings file and you haven't configured any URLs. Get to work!
</p>
</div>
</body></html>
Notice: it seems need a more RETURN key, because I tested the nginx server use telnet, when I input GET /, it reply the webpage immediately!
Thanks.