Pandora FMS - Cloudflare - Self Hosted

I am testing an MSP monitoring system. When I try to access the server via the URL, it works correctly in Cloudflare, however, the agent installed in the terminal, after configured, cannot send the information by push. The agent uses port 41121 to send. Does anyone have an idea how to resolve? I use Pandora FMS free