Python security settings

Laughlin, Joseph V Joseph.V.Laughlin at boeing.com
Tue May 11 17:56:26 EDT 2004




> -----Original Message-----
> From: Tuure Laurinolli [mailto:tuure at laurinolli.net] 
> Sent: Tuesday, May 11, 2004 2:45 PM
> To: python-list at python.org
> Subject: Re: Python security settings
> 
> 
> 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.
> -- 
> http://mail.python.org/mailman/listinfo/python-list
> 

Thanks for all the responses!  Problem solved.




More information about the Python-list mailing list