On Jul 3, 2006, at 2:56 PM, Luigi Pantano wrote: > > how to use django like web-sever on linux? > > i have tried: > > python manage.py runserver localhost:80 > > but give an error on the selected port. > > if run for example: > python manage.py runserver myIP:8080 > > the django site is not visible to other machine in the lan/web, why?
This is not really a django question, but more of a basic understanding of network configuration. Only root can run services using port numbers less than 1024. You really shouldn't let the development server run as root because then it has permission to access files anywhere in the system. Without root, you should be able to use port 8080, can't say why that isn't working. Possibly you have a firewall blocking it or port forwarding is not enabled? Don --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---