title: 127.0.0.1 refused to connect after django manage.py runserver
body: <p>I'm new to python and django. Yesterday I did the "python manage.py runserver" for the first time(just after django-admin startproject ..) and it showed starting development server at <a href="http://127.0.0.1:8000/" rel="nofollow noreferrer">http://127.0.0.1:8000/</a>. But in chrome it said "this site cant be reached". </p>
  
  <p>After searching the error I realized I had to add '127.0.0.1' in the list of ALLOWED_HOST(which was an empty list at the beginning) in settings.py. This  resolved the error and django congratulations page showed up.</p>
  
  <p>But today again the same "this site cant be reached, 127.0.0.1 refused to connect" error.</p>
  
  <p>Can someone help me out with this?</p>
  
  <p><a href="https://i.stack.imgur.com/IqG7n.png" rel="nofollow noreferrer">This link has urls.py code</a></p>
  
  <p><a href="https://i.stack.imgur.com/ugIP1.png" rel="nofollow noreferrer">This link has the project tree</a></p>
  
  <p>EDIT: I also had problem with installation of django itself. While doing "pip install django" there was an error like <code>"pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available" and many other line of errors.</code> After reading comments in stack overflow someone suggested to do pip install from anaconda prompt and only after that I was able to install django.</p>