Archived

This forum has been archived. Please start a new discussion on GitHub.

how to bind 0.0.0.0:port ?

I have muti-netcard,my client-endpoints config of Glacier is :
client-endpoints="ssl -h 0.0.0.0 -p 10005" ,it listen 10005 port on all netcard device,but when I change ipaddr on any netcard,if I must restart Glacier to listen all ipaddrs now? how to bind 0.0.0.0:port ,then I don't need to restart Glacier server.
any good advice?thanks!

Regards
ewiniar

Comments

  • dwayne
    dwayne St. John's, Newfoundland
    Hi,

    When you use -h 0.0.0.0, -h * or no -h paramater at all, Ice expands that to listen on all current ipaddrs when the endpoints are created. It does not actually bind to INETADDR_ANY and dynamically pick up changes that are made. So, if you change ipaddrs you need to restart your servers to pick up changes.

    Regards,
    Dwayne
  • Thanks

    thanks dwayne,it's so inconvenient,;)

    Regards

    ewiniar
  • marc
    marc Florida
    Of course, if you have a commercial demand for such a feature, please contact us at info@zeroc.com.