Hello,
On Jan 27, 8:51 am, panzon <
el.mas...@gmail.com> wrote:
> I'm already installed and run the examples using different languages
> ada - java.
> This examples work well when it run under the same node.
> When I execute subscribe giving another reference node, I get:
> error: Unresolved address. \\when I use java
> I/O error. -- when I use ada
>
> I already check my ip's and ports and every is correct and open (I can
> also connect using ssh)
Please make sure that the port number of your choice (for example,
12345) is not hidden behind a firewall on the machine where you run
the publisher program. The fact that you can connect via ssh might not
be showing the whole truth about your configuration.
Another thing to check is the address that you use for the listener
target, please see:
http://www.inspirel.com/yami4/book/6-1-1.html
The least restrictive way is to use the wildcard for the network
address on the publisher side:
tcp://*:12345
This way the publisher will allow all incoming connections for the
port 12345, even if the machine has several network addresses.
(Note that you might need to escape the whole string if you provide it
on the command line, otherwise * will be interpreted by the shell as a
special character.)
Then, the subscriber will be able to connect with tcp://yourmachine:12345
as a target.
> So I was thinking two things to solve it:
> 1.-
> Maybe when you execute the publish/subscriber on different nodes, you
> are obligated to use the Broker
No, this is not necessary.
> 2.-
> I have to modify the example Subscriber code; (
http://www.inspirel.com/
> yami4/book/7-1.html)
> I should use the Name Service Resolve
No, this is not necessary either.
Regards,
--
Maciej Sobczak *
http://www.inspirel.com