Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 06-20-2005
pi1ot pi1ot is offline
Registered User
 
Name: pi1ot
Organization: SINA.com
Project: WEB
 
Join Date: Feb 2005
Posts: 3
how to bind ice server with *:port ?

how to start a ice server bind with *ort?
include 127.0.0.1ort and real_iport.

netstat -a
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 localhost:10005 *:* LISTEN

thanks.
Reply With Quote
  #2 (permalink)  
Old 06-20-2005
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,534
Hi,

You can use the IP address "0.0.0.0" (INADDR_ANY) in the object adapter endpoint to bind to all the interfaces. For example:

Hello.Endpoints=tcp -h 0.0.0.0 -p 10000

You might also need to set the following property to ensure that the proxies created through the object adapter contains a correct address/hostname:

Hello.PublishedEndpoints=tcp -h myhost -p 10000

Please see the manual for more information on this property, and also see this thread and this thread for the pitfalls to expect when using INADDR_ANY for an object adapter endpoint.

Benoit.
Reply With Quote
  #3 (permalink)  
Old 06-20-2005
pi1ot pi1ot is offline
Registered User
 
Name: pi1ot
Organization: SINA.com
Project: WEB
 
Join Date: Feb 2005
Posts: 3
Smile it's work.

thank you very much.
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
how to know which port the adapter is using? nyingchi Help Center 7 07-07-2008 04:29 PM
QNX port n2503v Help Center 5 12-18-2006 06:16 PM
how to bind 0.0.0.0:port ? ewiniar Help Center 3 06-22-2006 10:15 PM
Client local ip address bind mario Help Center 6 12-14-2004 11:48 AM
AIX Port ScottDiedrick Help Center 1 04-13-2004 05:37 PM


All times are GMT -4. The time now is 02:21 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.