I am using this in stripe cli:
stripe listen --forward-to http://example.localhost:9000/api/payments/test-webhook
and after a transition in session url, in event listener i get this
2025-11-20 20:29:47 --> charge.succeeded [evt_3SVYrlJrkxcpI3341ndr1OdJ]
2025-11-20 20:29:47 [ERROR] Failed to POST: Post "http://example.localhost:9000/api/payments/test-webhook": dial tcp: lookup example.localhost: no such host