Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 07-23-2005
Rerox 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.
Reply With Quote
  #2 (permalink)  
Old 07-27-2005
bernard's Avatar
bernard bernard is offline
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 816
Hi Rerox,

Quote:
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
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Callback on legacy client without callback support causes deadlock? timeguest Help Center 1 07-30-2005 08:12 AM
demo/glacier2/callback problem alienwolf Help Center 1 05-30-2005 12:52 AM
Callback sample problem zhangzq71 Help Center 3 05-08-2005 10:04 AM
The "callback" string in the callback demo catalin Help Center 2 08-27-2004 01:53 AM
Properties for the callback demo catalin Help Center 1 02-16-2004 10:15 AM


All times are GMT -4. The time now is 11:11 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.