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: 172.27.45.221
Internet IP: 182.61.37.xx

clientB configuration:
Private IP address: 192.168.0.4
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:
clientA:
Host Address: 172.27.45.22:26548 Mapped Port:8889

clientB:
Host Address: 192.168.0.4:28978 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.

mima.nomad.hcl:

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 
      }
    }
  }
}