You need to edit the config.php file and add the IP address that you assigned to this jail during the setup which you used to access Nextcloud. In order to do this, you need to use the shell within TN or SSH into the jail with a client.
Do you have any FreeBSD knowledge?