Please refer to this setup guide: https://knowage.readthedocs.io/en/latest/admin/README/index.html#installation-from-released-package
You cannot use more than one IP/hostname for a single Knowage instance.
Please set the public IP in the host_url variable, while use the private one in the service_url.