title: Django manage.py runserver fails to respond
body: <p>I'm running a vagrant box on Mac OS X. The VM is running Ubuntu 12.04, with Python 2.7 and Django 1.4.5. When I start up manage.py, I call it like this:</p>
  
  <p><code>./manage.py runserver 0.0.0.0:8000</code> </p>
  
  <p>And if I visit <code>http://127.0.0.1:8000</code> from within the VM, the text browsers I've tried report that the HTTP request has been sent and then wait for a response until the request times out. No response ever comes.</p>
  
  <p>I can telnet to the port like this:</p>
  
  <p><code>telnet 127.0.0.1 8000</code></p>
  
  <p>And enter random gibberish, which manage.py reports as the following:</p>
  
  <p><code>127.0.0.1 - - [05/Aug/2014 17:06:26] code 400, message Bad request syntax ('asdfasdfadsfasd')
  127.0.0.1 - - [05/Aug/2014 17:06:26] "asdfasdfadsfasd" 400 -</code></p>
  
  <p>So manage.py is listening on that port. But a standard HTTP request generates no response from manage.py, either in the console or in the browser.</p>
  
  <p>I've tried using different ports which hasn't had any effect. Does anyone have any ideas?</p>
  
  <p><strong>UPDATE</strong>
  Some additional curl output.</p>
  
  <p>Executing 'curl -v <code>http://127.0.0.1:8000</code>' returns
  '* About to connect() to 127.0.0.1 port 8000 (#0)
  *   Trying 127.0.0.1... connected</p>
  
  <blockquote>
    <p>GET / HTTP/1.1
    User-Agent: curl/7.22.0 (i686-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
    Host: 127.0.0.1:8000
    Accept: <em>/</em>
    '</p>
  </blockquote>
  
  <p>Executing 'curl -v <code>http://somefakedomain</code>' results in
  '* getaddrinfo(3) failed for somefakedomain:80
  * Couldn't resolve host 'somefakedomain'
  * Closing connection #0
  curl: (6) Couldn't resolve host somefakedomain'</p>