IP Addresses
ngrok's cloud service uses a dynamic, rotating set of multitenant IPs to serve your public Endpoints. Endpoint IPs may change frequently and without notice. If you hardcode any of ngrok's IPs or rely on DNS answers past their TTL, your applications will break.
The information on this page about IPs also applies not only to Endpoint IPs but also to the IPs used for Agent Connections, the Dashboard and the API. They each support Dedicated IPs, IPv6 and Global Load Balancing.
Dedicated IPs
If you need a static IP for your public endpoints, you may attach static, dedicated IPs for Domains. You may also set up dedicated IPs for Agent Connect URLs.
Contact us to set up dedicated static IPs.
IPv6
ngrok's cloud service universally supports IPv6. DNS queries for the hostnames
of its public endpoints return AAAA
DNS records.
Don't forget that ngrok supports IPv6 when using the restrict-ips
Traffic
Policy action. If you forget to allow IPv6
traffic, you may unintentionally cause connectivity failures if connections to
your Endpoints use IPv6.
Global Load Balancer
When you resolve Endpoint IPs via DNS, you will receive a partial list of IPs because ngrok's global load balancer will return a different set of IPs depending on where you are located in the world.
API
There is no supported API to query ngrok's IPs at this time.