diff --git a/planemo/galaxy/config.py b/planemo/galaxy/config.py index 570f077eb..3f97e1de9 100644 --- a/planemo/galaxy/config.py +++ b/planemo/galaxy/config.py @@ -523,7 +523,7 @@ def write_galaxy_config(galaxy_root, properties, env, kwds, template_args, confi "galaxy": properties, "gravity": { "galaxy_root": galaxy_root, - "gunicorn": {"bind": f"localhost:{template_args['port']}"}, + "gunicorn": {"bind": f"{kwds.get('host', 'localhost'}:{template_args['port']}"}, "gx-it-proxy": { "enable": False, },