title: Local Django website won't load in browser
body: <p>I'm guessing there's a very simple solution to this, but I searched every forum and setup guide and can't figure it out: </p>
  
  <p>I built a Django/CentOS-6.3 environment on my <em>local</em> server (using VirtualBox and Vagrant). When I startup my server in the vagrant terminal with 'python manage.py runserver [::]:8000' it starts up with no errors. </p>
  
  <pre><code>Validating models...
  
  0 errors found
  May 31, 2013 - 13:56:15
  Django version 1.5.1, using settings 'mysitename.settings'
  Development server is running at http://[::]:8000/
  Quit the server with CONTROL-C.
  </code></pre>
  
  <p>However, when I try to navigate to '<code>http://127.0.0.1:8001</code>' in my browser (I set up port forwarding from port 8000 to port 8001 in my Vagrantfile), the browser just hangs for 5 minutes until it times out, then it returns the message: </p>
  
  <pre><code>&gt; The connection was reset 
  &gt; The connection to the server was reset while the page was loading. 
  &gt; ...
  </code></pre>
  
  <p>This is the exact same message I get from the browser even after I shut down my local server. My computer obviously recognizes this as a forwarded port, because any other port I try (such as 8000) instantly returns an error saying that it can't establish a connection to the server at 127.0.0.1:8000.</p>
  
  <p>With regard to the server files, I have done many similar setups with Django/Ubuntu in the past and have never had any issues, but there must be something different about Django/CentOS that is causing this to happen (or maybe I made a mistake someone in one of my server files). I have followed guides for setting up Django &amp; PostgreSQL on CentOS, too, but to no avail. I'll comment some of the files I have created/edited below.</p>
  
  <p>If anyone has a solution, or even has advice on where to <em>start</em> looking for errors, I would very much appreciate it.</p>