AFAIK, you cannot run two servers one next to the other. You must
first shut apache down before you run your app on port 80.

On Sat, May 1, 2010 at 8:41 PM, 白杨树 <[email protected]> wrote:
> 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.
>
>



-- 
Branko Vukelić

[email protected]
[email protected]

Check out my blog: http://www.brankovukelic.com/
Check out my portfolio: http://www.flickr.com/photos/foxbunny/
Registered Linux user #438078 (http://counter.li.org/)
I hang out on identi.ca: http://identi.ca/foxbunny

-- 
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.

Reply via email to