Python security settings

Tuure Laurinolli tuure at laurinolli.net
Tue May 11 17:44:39 EDT 2004


Laughlin, Joseph V wrote:
> rpc_server = SimpleXMLRPCServer.SimpleXMLRPCServer(("localhost", 3010))

> When I run this program, I can connect to port 3010 on the localhost,
> but I can't connect to the port from any other machine (or from the
> local machine using the machine's hostname).  Why is this?

You are binding the server to localhost, it shouldn't receive packets 
from any other address than 127.0.0.1 and it's IPv6 counterpart. Bind to 
the interface you are trying to connect to instead.



More information about the Python-list mailing list