sage 300 2024 web screens unable to connect to remote server error

Hello

We are having a challenge to login into sage on the web screens; It keeps saying unable to connect to remote server when we try accessing using the public IP address.

Please note using local network is working fine.

What could be the problem