# Ngrok and Litium website

**URL:** <https://forum.litium.com/t/ngrok-and-litium-website/3184>\
**Category:** Questions\
**Tags:** litium-7, litium-8\
**Created:** [January 29, 2024, 10:55am UTC](https://forum.litium.com/t/ngrok-and-litium-website/3184 "2024-01-29T10:55:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![samuel](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/samuel/32/479_2.png) [@samuel](https://forum.litium.com/u/samuel)\
**Post date:** [January 29, 2024, 10:55am UTC](https://forum.litium.com/t/ngrok-and-litium-website/3184/1 "2024-01-29T10:55:53Z")

</div>

Someone who have managed to set up an external ngrok tunnel against a local Litium website?

I’ve managed to get tunnels set up against payment apps running locally but tunnels set one up against a Litium website gives an 404 not found error.

I’m running the websites on a local IIS with a …localtest.me host name on port 443. I’ve tried setting up a an other simple website in IIS with a …localtest.me host name on port 443 and that works fine. So it seems like Litium websites are blocking requests in some way.

I get the same behavior for both Litium 7 and 8. Nothing in the logs.

---

<div class="post-metadata">

**Author:** ![samuel](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/samuel/32/479_2.png) [@samuel](https://forum.litium.com/u/samuel)\
**Post date:** [February 6, 2024, 12:26pm UTC](https://forum.litium.com/t/ngrok-and-litium-website/3184/2 "2024-02-06T12:26:03Z")

</div>

Anyone with a suggestion for this?

---

<div class="post-metadata">

**Author:** ![Spotonkastebo](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/spotonkastebo/32/717_2.png) [@Spotonkastebo](https://forum.litium.com/u/Spotonkastebo)\
**Post date:** [February 6, 2024, 2:22pm UTC](https://forum.litium.com/t/ngrok-and-litium-website/3184/3 "2024-02-06T14:22:06Z")

</div>

Who is trying to access you local site? you browsing the domain locally or someone else?

---

<div class="post-metadata">

**Author:** ![samuel](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/samuel/32/479_2.png) [@samuel](https://forum.litium.com/u/samuel)\
**Post date:** [February 6, 2024, 2:52pm UTC](https://forum.litium.com/t/ngrok-and-litium-website/3184/4 "2024-02-06T14:52:39Z")

</div>

In this case it’s an external service talking back via a webhook. I’ve set up an api endpoint (api controller action) that should receive the webhook call. I can call it locally from Postman without problems. But when I call it thru the ngrok tunnel I get a 404 not found error.

I’ve created an other small application with an api endpoint and running it locally. Calling that thru a ngrok tunnel is no problem.

Using a ngrok tunnel would also be useful for testing the website in browsers on a different OS that you’re developing on when doing front end coding.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [March 5, 2024, 2:53pm UTC](https://forum.litium.com/t/ngrok-and-litium-website/3184/5 "2024-03-05T14:53:29Z")

</div>

Closed on March 5, 2024, 2:53pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
