Accessing public hostname from outside keeps returning local IP and doesnt connect

Hi All,
I am new to Cloudflare and struggling with one of the public hostname I setup.
I have a Truenas Server at with nextcloud running at port 9001. I setup a public hostname with a subdomain pointing to this address and port. However, when I try to access this from outside network, it simply resolves the url into local IP address and does not connect. What am I doing wrong? Please see below details for my setup. I have setup two public hostnames and one of them points to my nas server which works perfectly but nextcloud does not.
service: https:
Origin configurations - noTLSVerify:

Both of my public hostname have same configurations but nextcloud doesnt work. What am I doing wrong?
Thanks in advance

  • Shan