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 http://127.0.0.1:8000/. But in chrome it said "this site cant be reached".
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.
But today again the same "this site cant be reached, 127.0.0.1 refused to connect" error.
Can someone help me out with this?
This link has the project tree
EDIT: I also had problem with installation of django itself. While doing "pip install django" there was an error like "pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available" and many other line of errors.
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.