If you are starting your script as root, in order to bind to the port, make sure you are shedding root privileges after you have acquired any necessary file handles, etc...
On Fri, Dec 25, 2009 at 10:11 AM, Damjan <[email protected]> wrote: > > Do you know why this is happening? Is there another way to create such > > a server or to grant the module to create sockets? Thank you in advance > > Graham told you how this is a bad idea, but also... > > the error you are getting is because you are trying to open a TCP port > below 1024 (621) which only root can open. Your mod_wsgi app doesn't > run with root privileges and it could never open a listening TCP > socket below 1024 > > -- > > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<modwsgi%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "modwsgi" 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/modwsgi?hl=en.
