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:
It's correct and free of typos
The hostname can be resolved to the expected IP address using a DNS tool like
nslookup
,dig
, or an online DNS toolThe 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).
Did this answer your question?
Related articles