How to change UI URL from localhost to a proper hostname

It looks like the UI URL always binds http://localhost:9047.

How to change UI URL from localhost to a proper hostname? eg http://xxx.yyy.com:9047

If you look at dremio.conf you can see following:

master: {
  # the name of the master server. If this node matches the name, it starts the master service
  name: localhost,
  port: 45678
}

You can change “localhost” to your qualified hostname.
It is important if you have multinode install.
You can always use hostname of the installed dremio master in the URL, even if it is “localhost” in dremio.conf, as it is localhost in respect to the machine where it is installed.