def get_bind_addr(conf, default_port=None):
    conf.register_opts(bind_opts)
    return (conf.bind_host, conf.bind_port or default_port)
Return the host and port to bind to.
dataset/ETHPy150Open rcbops/glance-buildpackage/glance/common/wsgi.py/get_bind_addr