Working my way through a Django tutorial, I have run django-admin startproject mysite. Now I cannot get the next step to work.
$ python manage.py runserver >>> $ where the blank line is where Ctrl-C was entered to break the loop. The >>> was the prompt I defined for the virtualenv. In other words, no output.
Most importantly, I get a connection refused error when connecting to http://127.0.0.1:8000. I do not get the the "'Welcome to Django' page, in pleasant, light-blue pastel" as described in the tutorial.
For other commands python manage.py works correctly. For example:
$ python manage.py check System check identified no issues (0 silenced). $ python manage.py shell --command 'import sys; print(sys.version)' 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:27:37) [MSC v.1900 64 bit (AMD64)] $/ python manage.py shell --command 'import django; print(django.__version__)' 1.11.2 I am at loss for how explore further. I have tried:
- Using multiple browsers
- Varying the IP and port, including using
LOCALHOST. - Turning off the proxy
- Consulting other Stack Overflow, such as here and here
- Rebooting my computer
- Exploring Chrome's log's. Perhaps someone else can get something valueable out of these: Request Headers & Timing Diagram.
I am at loss for other steps to debug this problem.
SimpleHTTPServer, just to debug if the problem is django or something else in your computer