The Nomad Web UI task assignment details in Ports.Host Address shows that the address cannot be accessed

I have a small cluster of servers and two clients.

Server configuration:
Internet IP: 52.61.23.xx

clientA configuration:
Private IP address:
Internet IP: 182.61.37.xx

clientB configuration:
Private IP address:
Internet IP: 119.61.37.xx

A task was run: mima.nomad.hcl.
Tasks are assigned between clientA and clientB,
View the access address of the task through the Control Panel UI:
Host Address: Mapped Port:8889

Host Address: Mapped Port:8889

They are all displayed intranet addresses, click can not be accessed, to access you must change the address to the server external network address, in order to access.
I would like to ask how to display the normal Internet access address in nomad-ui.


variable "image" {
    type = string

job "mimaapi" {
  datacenters = ["dc1"]
  group "mimaapi-g" {
    count = 2
    network {
      port "mima" {
        to = 8889

    service {
      name     = "mimaapi"
      port     = "mima"
      check {
        type     = "http"
        path     = "/"
        interval = "2s"
        timeout  = "2s"

    task "mimaapi-task" {
      driver = "docker"
      config {
        image = "${var.image}"
        ports = ["mima"]
      resources {
         cpu    = 800  
         memory = 500