Re: Connection refused
Irmen de Jong <[email protected]> Wed, 23 Oct 2013 02:42:46 +0200
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <[email protected]> |
On 22-10-2013 15:06, Richard van Bemmelen wrote: > I do not know why I get this connection refused. > On my Mac runs the name server, with -n ip address. > Also a server is running registered to this name server. > A client on the Mac can connect, no problem. > On my Ubuntu machine the client gives this error, although it sees the name server. ( > Pyro4.nsc list) and Pyro4.nsc ping says 'name server ping ok' Can be a lot of things, firewalls being one of them, or a NAT setup. Enable Pyro's logging and see if you can find something in the logfile. Also, what is listed when you python -m Pyro4.nsc list? Is the URI of your object listed with the expected hostname/ip address? Can you telnet to that host/port? Is it different from the host/port the nameserver runs on, if so, why? For NAT and other network setup related stuff, see some topics in the manual's Tips and Tricks chapter. For instance: http://pythonhosted.org/Pyro4/tipstricks.html#pyro-behind-a-nat-router-firewall Irmen ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk