the situation is
my server has apache, and it owns the 80 port
my test code is like that
import web
urls = ("/hello", "hello")
app = web.application(urls, globals())
class hello:
def GET(self):
return 'Hello, world!'
if __name__ == "__main__":
app.run()
when i run "python test.py"
i can access it throught http://xxx.com:8080
but when i run "python test.py 80"
i got these error infomation
Python-2.5.4/Lib/web/wsgiserver/__init__.py", line 1596, in start
raise socket.error, msg
socket.error: (13, 'Permission denied')
--
B.rgds / Whitepoplar (杨德华)
--
You received this message because you are subscribed to the Google Groups
"web.py" 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/webpy?hl=en.