# 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
1. The hostname can be resolved to the expected IP address using a DNS tool such as `nslookup`, `dig` or an [online DNS tool](https://mxtoolbox.com/DNSLookup.aspx)
1. The URL is publicly accessible on the internet
If the URL is correct, connections from Stripe might be blocked by something such as a firewall or network configuration. Confirm that [the IP addresses Stripe uses for webhooks](https://stripe.com/docs/ips#webhook-notifications) can access your Webhook Endpoint's URL (you may need to work with your hosting provider to confirm this).