socket.error:(13,'Permission deied')

Josiah Carlson jcarlson at uci.edu
Fri Nov 12 18:57:02 EST 2004


"Austin" <austin at maxtronic.com.tw> wrote:
> now i use
> self.server = BaseHTTPServer.HTTPServer(( '', self.port ),ServerHandler)
> on fedora Core 2
> it shows permission denied, too.
> What could i do?


If you are trying to run a server on a port < 1024 on linux, you need to
be root (they are "priviledged ports").  Try running on a higher port
for testing and such, and if you /need/ to run it on port 80 (or
something else) later, ask again.

 - Josiah




More information about the Python-list mailing list