Archived
This forum has been archived. Please start a new discussion on GitHub.
how to set ice config "-h " parameter
suppose I have a ice service server which ip is "192.168.10.1".
A ice client who want communicate with the server must set ice.config "-h 192.168.10.1"
if the ice server set ice.config "-h localhost" not "-h 192.168.10.1", the client can not communicate with it.
So, I want to know how to set the ice server ice.config "-h" parameter(don't like set like "-h 192.168.10.1"), a client can communicate with it "-h 192.168.10.1";
Thanks for any reply.
A ice client who want communicate with the server must set ice.config "-h 192.168.10.1"
if the ice server set ice.config "-h localhost" not "-h 192.168.10.1", the client can not communicate with it.
So, I want to know how to set the ice server ice.config "-h" parameter(don't like set like "-h 192.168.10.1"), a client can communicate with it "-h 192.168.10.1";
Thanks for any reply.
0
Comments
-
Hi,
If you don't want to specify the -h option in the server endpoints, you can use the Ice.Default.Host=192.168.10.1 property in the server configuration file to change the default host.
Cheers,
Benoit.0 -
benoit, I tried your suggestion.it works very well, thanks.0