# Local Host is Not Working for a URL Redirect

**URL:** <https://community.rapyd.net/t/local-host-is-not-working-for-a-url-redirect/58224>\
**Category:** ⚙️ API\
**Created:** [December 8, 2022, 11:00pm UTC](https://community.rapyd.net/t/local-host-is-not-working-for-a-url-redirect/58224 "2022-12-08T23:00:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Community\_Team](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Community\_Team](https://community.rapyd.net/u/Community_Team)\
**Post date:** [December 8, 2022, 11:00pm UTC](https://community.rapyd.net/t/local-host-is-not-working-for-a-url-redirect/58224/1 "2022-12-08T23:00:39Z")

</div>

If you cannot get a localhost link to work on a URL Redirect in Sandbox here’s what you can do:

You can use any live working link: [https://example.com](https://example.com)

If you do still want to test a local host workflow for any complete, cancel, or error URL redirects, then you can use [ngrok](https://ngrok.com/).

You can learn more about the URLs here:  
[https://community.rapyd.net/t/complete-cancel-and-error-urls](https://community.rapyd.net/t/complete-cancel-and-error-urls)

Here are some other examples that use ngrok.

- [PHP Payment Gateway Integration with Rapyd - #5 by Kyle](https://community.rapyd.net/t/php-payment-gateway-integration-with-rapyd/35921/5)
- [PHP curl call from localhost return UNAUTHENTICATED\_API\_CALL - #2 by Kyle](https://community.rapyd.net/t/php-curl-call-from-localhost-return-unauthenticated-api-call/21827/2)
