Unifi-controller unable to access from Unifi Network Portal

I was able to solve it, in my case it was Portainer version, i was on 1.24.1 when i upgrade to 2.0 i was able to login remotely my controller, hope it helps others.

Thank you