>
> self.conn=rpyc.connect('localhost',22222)
>
> I am new to rpyc. The above code raises the following error:

>   File 
>> "/var/www/websites/WordPlatform-Beiyu/ENV/local/lib/python2.7/site-packages/rpyc/utils/factory.py",
>>  
>> line 90, in connect
>
>     s = SocketStream.connect(host, port, ipv6 = ipv6, keepalive = 
>> keepalive)
>
>   File 
>> "/var/www/websites/WordPlatform-Beiyu/ENV/local/lib/python2.7/site-packages/rpyc/core/stream.py",
>>  
>> line 150, in connect
>
>     return cls(cls._connect(host, port, **kwargs))
>
>   File 
>> "/var/www/websites/WordPlatform-Beiyu/ENV/local/lib/python2.7/site-packages/rpyc/core/stream.py",
>>  
>> line 108, in _connect
>
>     s.connect(sockaddr)
>
>   File "/usr/lib/python2.7/socket.py", line 224, in meth
>
>     return getattr(self._sock,name)(*args)
>
> socket.error: [Errno 111] Connection refused
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"rpyc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to