Archived
This forum has been archived. Please start a new discussion on GitHub.
how to bind ice server with *:port ?
in Help Center
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.
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.
0
Comments
-
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.0 -
it's work.
thank you very much.0