Re: [Error 111] connection refused
Irmen de Jong <[email protected]> Thu, 17 Apr 2014 20:02:59 +0200
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <[email protected]> |
On 16-4-2014 10:10, hjxwho wrote: > Ok, it seems like I found where the problem is: > > when I create a deamon for my public object, i failed to specifi the host and port. And > the default host and port doesn’t allow me to connect to it. I'm glad you got it sorted. But this illustrates that it is quite important to be aware of your network interface configuration and on what interface address you bind your services (of which the Pyro daemon is just an example). Also, this particular situation is documented in Pyro's documentation: http://pythonhosted.org/Pyro4/security.html?highlight=localhost#network-interface-binding i.e. it is by design that unless you tell Pyro otherwise, your Pyro objects won't be accessible via the network. Irmen ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ Pyro-core mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyro-core