Jira webhooks are not sending on ec2 server

Hi All,
I am working with Jira webhooks, when I give my local system url using ngrok then I am able to receive the webhooks, but when I am trying with my server URL the webhooks are not coming on the server. Can someone please help?