On 17 nov, 14:14, Ben <[EMAIL PROTECTED]> wrote: > Hi, > > I'm completely new to python and Django, although fairly familiar with > programming and web servers in general. > > I'm struggling to get Django up and running, at the moment, and I'd be > really grateful if someone could help. > > I'm following this tutorial, after having successfully installed > Django: > > http://docs.djangoproject.com/en/dev/intro/tutorial01 > > I start the development server using: > > python manage.py runserver > > which seems to work ok: > > Validating models... > 0 errors found > > Django version 1.1 pre-alpha SVN-9479, using settings > 'prototype.settings' > Development server is running athttp://127.0.0.1:8000/ > Quit the server with CONTROL-C. > > In fact, on that server, I can telnet to the development server fine. > However, if I try to access it in my browser, nothing happens. (snip) > As far as I know there are > no firewalls between me and the server (it's a shared hosting server > with Site5).
Err... If I get you right, you're not running the dev server process on your own machine ? If so, it looks like your familiarity with web servers is lacking one important point: 127.0.0.1 is the loopback IP address - IOW, it's an IP address that connect one machine *to itself* !-). Try starting the dev server with the real IP address for your server, and you should be fine, ie if your server machine IP is AAA.BBB.CCC.DDD, start the dev server with python manage.py AAA.BBB.CCC.DDD:8000 > I'm assuming that when I try to connect to port 8000 this will go > directly to the development server and apache settings etc should be > irrelevant? To make a long story short: yes. (To make it a bit longer : apache could be configured to listen to port 8000, but then you couldn't run any other process listening on this same port...) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

