Webhooks: how to investigate and fix "Connection to remote host denied"

This error means we were unable to establish a connection to your server. Confirm the following for your Webhook Endpoint's URL:

  1. It's correct and free of typos

  2. The hostname can be resolved to the expected IP address using a DNS tool like nslookup, dig, or an online DNS tool

  3. The URL is publicly accessible on the Internet

If the URL is correct, connections from Stripe might be blocked by something like a firewall or network configuration. Confirm the IP addresses Stripe uses for webhooks can access your Webhook Endpoint's URL (you may need to work with your hosting provider to confirm this).