Created on 07-28-2015 02:16 AM - edited 09-16-2022 02:36 AM
In cloudera manager HUE configuration web page.
I can't find the "http_host" property, the default value is the server hostname but it bind to the LAN IP instead of 0.0.0.0.
So, i can't access the hue web page via the internet.
How to change the http_host in hue.ini (I want bind it to 0.0.0.0)?
Created 08-06-2015 09:41 AM
In CM this is what we use in demo.gethue.com
If you bind on 0.0.0.0 and it is not working, your network/host is probably not configured properly (e.g. hadoop101 is not accessible from outside):
Are you on Amazon?
Created 07-28-2015 08:25 AM
Created on 08-05-2015 02:15 AM - edited 08-05-2015 02:18 AM
i can find the hue.ini file in "/var/run/cloudera-scm-agent/process/XXX-hue-HUE_SERVER"
but it just a copy of the current configuration.
the property http_host is bind to the hostname not 0.0.0.0
i'm added "http_host=0.0.0.0" to "Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini" and "Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve_server.ini" in CM
but it didn't take any effect. T_T
(just added "http_host=0.0.0.0" to the hue_safety_valve.ini and hue_safety_valve_server.ini, the property "http_host" in hue.ini is still the hostname)
Created 08-05-2015 06:56 AM
Created 08-05-2015 06:29 PM
the property value in dump_config page is the same as hue.ini
the firewall has been closed
hadoop101 is the hostname
Created 08-06-2015 09:41 AM
In CM this is what we use in demo.gethue.com
If you bind on 0.0.0.0 and it is not working, your network/host is probably not configured properly (e.g. hadoop101 is not accessible from outside):
Are you on Amazon?
Created 08-06-2015 08:31 PM
aha.... the property "Bind Hue Server to Wildcard Address" is the solution...
thank you very much.~~ 🙂