Home Help Center

how to bind ice server with *:port ?

pi1otpi1ot Member pi1otOrganization: SINA.comProject: WEB
how to start a ice server bind with *:port?
include 127.0.0.1:port and real_ip:port.

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

thanks.

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    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 [thread=1416]this thread[/thread] and [thread=343]this thread[/thread] for the pitfalls to expect when using INADDR_ANY for an object adapter endpoint.

    Benoit.
  • pi1otpi1ot Member pi1otOrganization: SINA.comProject: WEB
    it's work.

    thank you very much.
Sign In or Register to comment.