By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,036 Members | 1,963 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,036 IT Pros & Developers. It's quick & easy.

Python security settings

P: n/a

import SimpleXMLRPCServer
rpc_server = SimpleXMLRPCServer.SimpleXMLRPCServer(("localhost" , 3010))
print "XMLRPC Server started!"
rpc_server.serve_forever()

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?

Joe Laughlin
Phantom Works - Integrated Technology Development Labs
The Boeing Company


Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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.
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.