Hello,
I am using the ACE_TAO version 5.6.6. I am trying to establish a Logging service between two machines running Linux on the local network. I used the example in the ACE_wrappers/netsvcs directory.
1. Server (Machine uei16)
For the server, in the directory ACE_wrappers/netsvcs/servers, the configuration file, svc.conf, is set as below (containing only the Logging service, listening to port 20020):
dynamic Server_Logging_Service Service_Object * netsvcs:_make_ACE_Server_Logging_Acceptor() active "-p 20020"
2. Clerk (Machine mpsoc2)
In the same directory, the svc.conf file is configured as below so as to the sever host is set to uei16, and the port correspond to the server port.
dynamic Client_Logging_Service Service_Object * netsvcs:_make_ACE_Client_Logging_Acceptor() active "-h uei16 -p 20020"
When we start the two program on the two separated machines, it gives a connection failure:
can't connect to logging server uei16 on port 20020: No route to host, using stderr
But when I do a "ping uei16", the route really exists.
Could you please tell me how this problem come, or in which part of the whole ACE_TAO release lies the program responsible for the connection setup?
Thank you very much,
Tian
I am using the ACE_TAO version 5.6.6. I am trying to establish a Logging service between two machines running Linux on the local network. I used the example in the ACE_wrappers/netsvcs directory.
1. Server (Machine uei16)
For the server, in the directory ACE_wrappers/netsvcs/servers, the configuration file, svc.conf, is set as below (containing only the Logging service, listening to port 20020):
dynamic Server_Logging_Service Service_Object * netsvcs:_make_ACE_Server_Logging_Acceptor() active "-p 20020"
2. Clerk (Machine mpsoc2)
In the same directory, the svc.conf file is configured as below so as to the sever host is set to uei16, and the port correspond to the server port.
dynamic Client_Logging_Service Service_Object * netsvcs:_make_ACE_Client_Logging_Acceptor() active "-h uei16 -p 20020"
When we start the two program on the two separated machines, it gives a connection failure:
can't connect to logging server uei16 on port 20020: No route to host, using stderr
But when I do a "ping uei16", the route really exists.
Could you please tell me how this problem come, or in which part of the whole ACE_TAO release lies the program responsible for the connection setup?
Thank you very much,
Tian