On Thu, 11 Nov 2004 21:08:41 +0800, "Austin" <(E-Mail Removed)> wrote:
> data = ....
> self.broadcast_ip = 255.255.255.255
> These codes run on Windows without errors and warnings.
> But i excute that on Fedora Core 2, it shows the error
> "socket.error13,'Permission deied')"
> i try to disable the firewall and become a root but it doesn't work, either.
> Does anyone have any suggestions ?
now i use
self.server = BaseHTTPServer.HTTPServer(( '', self.port ),ServerHandler)
on fedora Core 2
it shows permission denied, too.
What could i do?
"Austin" <(E-Mail Removed)> 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.