connect two different machine
Luca Delucchi <[email protected]> Wed, 21 Jan 2015 11:30:19 +0100
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <CAK4m-3xGuy-fhsRRyJN-8JTTF9imFPEFyhmYWLbBok=5f1ezng@mail.gmail.com> |
Hi everybody,
I'm new user of Pyro, I read documentation and tutorial, I create a
test for my library and it work perfectly on localhost.
Now I'm trying to connect two different machine, I launched my script
on the server and it works correctly
python grass_stem.py
Object <__main__.stemGRASS instance at 0x7f3402fb8b48>:
uri = PYRO:obj_b2c0d990fa2241a0b30a9de0329a8519-prDWUKxKqPgbxR3XD4mAzA@public.gmane.org:39559
name = stem.grass
Pyro daemon running.
python -m Pyro4.nsc --host=10.0.100.251 list
--------START LIST
Pyro.NameServer --> PYRO:[email protected]:9090
stem.grass --> PYRO:obj_b2c0d990fa2241a0b30a9de0329a8519-prDWUKxKqPgbxR3XD4mAzA@public.gmane.org:39559
--------END LIST
When I try to work from my client I obtain these errors
python -m Pyro4.nsc --host=10.0.100.251 list
Failed to locate the name server: Failed to locate the nameserver
import Pyro4
import os
gs = Pyro4.Proxy("PYRONAME:[email protected]:39559")
gs.initialize(os.getpid(), '/home/lucadelu/grassdata/',
'UTM32_ETRS89', '/home/lucadelu/bin/grass70', 25832)
NamingError: Failed to locate the nameserver
someone can help me?
Thnaks
--
ciao
Luca
http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet