rpyc defaults to ipv4 unless you explicitly requested ipv6, so that surely
isn't the issue.
sounds like a firewall thing -- the port (18812) is nonstandard and is
probably blocked by your firewall, either on the local machine or the
remote one.

hope that helps,
-tomer

-----------------------------------------------------------------

*Tomer Filiba*
tomerfiliba.com     <http://www.facebook.com/tomerfiliba>
<http://il.linkedin.com/in/tomerfiliba>



On Sat, Mar 31, 2012 at 13:45, Mick Sulley <[email protected]> wrote:

> Hi,
>
> Sorry if this a basic question.  I am trying to connect from one server to
> another, both Ubuntu 10.04, and it fails.  This is what I get -
>
> >>> conn = rpyc.classic.connect("moon")
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>  File "/usr/local/lib/python2.6/**dist-packages/rpyc/utils/**classic.py",
> line 67, in connect
>    return factory.connect(host, port, SlaveService, ipv6 = ipv6)
>  File "/usr/local/lib/python2.6/**dist-packages/rpyc/utils/**factory.py",
> line 83, in connect
>    s = SocketStream.connect(host, port, ipv6 = ipv6)
>  File "/usr/local/lib/python2.6/**dist-packages/rpyc/core/**stream.py",
> line 106, in connect
>    return cls(cls._connect(host, port, **kwargs))
>  File "/usr/local/lib/python2.6/**dist-packages/rpyc/core/**stream.py",
> line 84, in _connect
>    s.connect((host, port))
>  File "<string>", line 1, in connect
> socket.error: [Errno 111] Connection refused
> >>>
>
>
> My network is still all on ipv4, so is it looking for ipv6 connections?
>  If so how do I change it?
>
> Thanks
> Mick
>

Reply via email to