Check Settings > Integration > Problem notifications for your Dynatrace environment. Add the IP addresses listed there to your ServiceNow allowlist. For Dynatrace Managed environments, check with your Dynatrace administrator for a list of addresses to allow.
Also check:
- How to whiltelist the IP addresses in ServiceNow (ServiceNow Community).
- Send Dynatrace notifications to ServiceNow (Dynatrace Documentation).