Accessing Juju Dashboard

Hi All,

I am running below commands to install and setup Juju dashboard. As shown below when I run Juju expose I am seeing an ERROR message where I need to set “juju-external-hostname”.

$juju switch controller

$juju deploy juju-dashboard-k8s

$juju integrate juju-dashboard-k8s controller

$juju expose juju-dashboard-k8s
ERROR cannot expose a container application without a "juju-external-hostname" value set, run
juju config juju-dashboard-k8s juju-external-hostname=<value>

I tried setting the same using the public ipaddress of the node i.e. 10.10.26.211. But when I run juju dashboard I still see the link with localhost. Am i doing anything wrong with setting “juju-external-hostname”?

$ juju config juju-dashboard-k8s juju-external-hostname=10.10.26.211
$
$ juju expose juju-dashboard-k8s
$
$ juju dashboard
Dashboard for controller "uk8sx" is enabled at:
  http://localhost:38871
Your login credential is:
  username: admin
  password: f1a973834045a707a1fc302cf0343f24