Results 1 to 2 of 2

Thread: demo/ice/callback problem

  1. #1
    Rerox is offline Registered User
    Join Date
    Jul 2005
    Posts
    1

    Unhappy demo/ice/callback problem

    I see somebody have same problem.
    at this post callback sample problem

    and Matthew answer:

    " What configuration information are you running with exactly? Can you post the contents of "config" please? My guess is that you didn't add the -h <ip> to one of the endpoints correctly, and since you are using a multi-homed system the OS picked the wrong endpoint again.

    I just tested this by running the server with the default configuration, and adding -h <ip> in the Callback.Client.CallbackServer property in the client configuration and the same worked as expected. However, my machines don't have two ethernet cards"

    So I edit my client config file. Add -h<ip> in the Callback.Client.CallbackServer property. Server use default config file. But server always direct callback to my pc's IP "192.168.0.x". and failed.

    Matthew, can you post you test server config file,and client config file?
    Thanks.

  2. #2
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Rerox,

    But server always direct callback to my pc's IP "192.168.0.x"
    Posting the last number of your IP address would not open any security hole .

    Which interface do you want to use to receive the callbacks in your client? If this interface has an associated hostname (in DNS), you can use this hostname in your configuration file, e.g. for hostname foo.bar.com
    Callback.Client.Endpoint=tcp -h foor.bar.com:udp -h foor.bar.com:ssl -h foo.bar.com

    Without a hostname in DNS, use the IP address associated with the desired interface, e.g.:
    Callback.Client.Endpoint=tcp -h 10.0.0.7:udp -h 10.0.0.7:ssl -h 10.0.0.7

    Hope this helps!

    Bernard

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 01-08-2009, 12:11 PM
  2. demo/glacier2/callback problem
    By alienwolf in forum Help Center
    Replies: 1
    Last Post: 05-29-2005, 11:52 PM
  3. Callback sample problem
    By zhangzq71 in forum Help Center
    Replies: 3
    Last Post: 05-08-2005, 09:04 AM
  4. The "callback" string in the callback demo
    By catalin in forum Help Center
    Replies: 2
    Last Post: 08-27-2004, 12:53 AM
  5. Properties for the callback demo
    By catalin in forum Help Center
    Replies: 1
    Last Post: 02-16-2004, 09:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •