dns exception

in Help Center
hi,
I have this strange problem with ice throwing dns exception.
I have an icestorm server at 192.168.0.176.
on the subscriber side I have:
IceStorm.TopicManager.Proxy = IceStorm/TopicManager:default -p 10000 -h 192.168.0.176
when the subscriber tries to connection I get dns exception, error =0 host = "0.0.0.0"
if I run the publisher with the same config it's fine. Some how the subscriber just doesn't like 192.168.0.176
ideas anyone?
I have this strange problem with ice throwing dns exception.
I have an icestorm server at 192.168.0.176.
on the subscriber side I have:
IceStorm.TopicManager.Proxy = IceStorm/TopicManager:default -p 10000 -h 192.168.0.176
when the subscriber tries to connection I get dns exception, error =0 host = "0.0.0.0"
if I run the publisher with the same config it's fine. Some how the subscriber just doesn't like 192.168.0.176
ideas anyone?
0
Comments
yeah it is something wrong with the adapter, the code stops at the createObjectAdapter call.
my subscriber config file is as follows:
subscriber.radio.Endpoints=tcp:udp
IceStorm.TopicManager.Proxy =IceStorm/TopicManager:default -p 10000 -h 192.168.0.176
and I'm running this on Ubuntu 7.04.
So you mean like if I had: subscriber.radio.Endpoints=tcp:udp -h localhost it would be ok?
Which Ice version do you use?
You should try to enable network tracing on your subscriber to check on which network interfaces the object adapter is trying to bind when you don't specify the -h option in the "subscriber.radio.Endpoints" property.
Most likely, the solution to your problem will be to add a "-h" in each endpoint of the "subscriber.radio.Endpoints" property. You should specify the IP address of the network interface from which your server will be reached by IceStorm.
For example:
subscriber.radio.Endpoints=tcp -h 192.168.0.180:udp -h 192.168.0.180
if "192.168.0.180" is the IP address of the network interface on your Ubuntu machine.
Cheers,
Benoit.