<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/why-i-stopped-fighting-with-ngrok-tcglebqhd" -->

---
title: Why I Stopped Fighting With Ngrok | daily.dev
description: A developer shares their experience moving from ngrok tunneling to GitHub Actions self-hosted runners for local integration testing. The article explains how...
canonical: https://daily.dev/posts/why-i-stopped-fighting-with-ngrok-tcglebqhd
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Why I Stopped Fighting With Ngrok | daily.dev
og:description: A developer shares their experience moving from ngrok tunneling to GitHub Actions self-hosted runners for local integration testing. The article explains how...
og:url: https://daily.dev/posts/why-i-stopped-fighting-with-ngrok-tcglebqhd
og:image: https://api.daily.dev/og/posts/tcGlebqHd.png
og:image:alt: Why I Stopped Fighting With Ngrok
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Why I Stopped Fighting With Ngrok

**[Om Tita](https://daily.dev/sources/evu3yd32u4dwojv821eow)** · [@omtita](https://daily.dev/omtita) · 54 upvotes · 5 comments

## Summary

A developer shares their experience moving from ngrok tunneling to GitHub Actions self-hosted runners for local integration testing. The article explains how self-hosted runners eliminate the need for port forwarding and tunneling by executing CI workflows directly on the local machine, providing instant code updates and simpler setup. The approach works best for private repositories and controlled environments where the machine can remain active during job execution.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/@omtita.codes/why-i-stopped-fighting-with-ngrok-939b85d7acc1>

## Community discussion

Top comments from developers on daily.dev.

**@akkitto** · 5 upvotes

> > I needed my GitHub Actions workflow to hit an API running on my local machine. Nothing fancy, just a simple integration test that depended on my laptop acting like a temporary server. The obvious move was to expose the local port with ngrok.
>
> *That* was the obvious move? 😃
>
> The obvious move would've been to move the local stuff to a better location.

**@natedata** · 1 upvotes

> Bit lack lustre. Some examples of the ngrok commands, parsing headers e.t.c.

**@feketegy** · 1 upvotes

> There are other alternatives and also you can do the whole tunneling with SSH too.
>
> Depends how deep you want to go, Ngrok is not just about tunneling ports.

## Similar posts on daily.dev

- [I moved all my side projects off GitHub to Forgejo, and my workflow stayed exactly the same](https://daily.dev/posts/i-moved-all-my-side-projects-off-github-to-forgejo-and-my-workflow-stayed-exactly-the-same-q7qk4aw98) · XDA Developers · 19 upvotes · 8 comments
- [Cloudflare Tunnels with Docker Compose: Free ngrok Alternative](https://daily.dev/posts/cloudflare-tunnels-with-docker-compose-free-ngrok-alternative-chygejkfv) · SitePoint · 1 upvotes · 0 comments
- [Working software runs locally](https://daily.dev/posts/working-software-runs-locally-acfymodik) · Lobsters · 0 upvotes · 0 comments
- [Self-hosted HTTP tunnels with SSH and nginx](https://daily.dev/posts/self-hosted-http-tunnels-with-ssh-and-nginx-qeu3pqxry) · Lobsters · 1 upvotes · 0 comments

---

Tags: [#cicd](https://daily.dev/tags/cicd), [#devops](https://daily.dev/tags/devops), [#devtools](https://daily.dev/tags/devtools), [#github-actions](https://daily.dev/tags/github-actions), [#testing](https://daily.dev/tags/testing)

[View this post on daily.dev](https://daily.dev/posts/why-i-stopped-fighting-with-ngrok-tcglebqhd)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/why-i-stopped-fighting-with-ngrok-tcglebqhd","headline":"Why I Stopped Fighting With Ngrok","text":"Shared: Why I Stopped Fighting With Ngrok","url":"https://daily.dev/posts/why-i-stopped-fighting-with-ngrok-tcglebqhd","datePublished":"2025-11-21T09:25:13.263Z","dateModified":"2026-03-15T07:37:07.607Z","author":{"@type":"Person","name":"Om Tita","url":"https://daily.dev/omtita","image":"https://lh3.googleusercontent.com/a/ACg8ocKgaG4bFEWnBxGQv0RdBLKQlspfLZyrd9b23PHZP3L9j1c=s96-c","description":"Software Engineer | Backend | Python","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":680}},"image":"https://media.daily.dev/image/upload/s--VDukGCjf--/f_auto/v1722860399/public/Placeholder%2002","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":54},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":5}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/fMqIMISiH"},"comment":[{"@type":"Comment","text":"I needed my GitHub Actions workflow to hit an API running on my local machine. Nothing fancy, just a simple integration test that depended on my laptop acting like a temporary server. The obvious move was to expose the local port with ngrok.\n\nThat was the obvious move? 😃\nThe obvious move would’ve been to move the local stuff to a better location.","datePublished":"2025-11-21T09:37:50.846Z","url":"https://daily.dev/posts/tcGlebqHd#c-8RxHx8IHz","author":{"@type":"Person","name":"Daniel","url":"https://daily.dev/akkitto","image":"https://media.daily.dev/image/upload/s--FtwJqX4c--/f_auto/v1754900041/avatars/avatar_29TCpY2hJR72V3BlxPXzX?_a=BAMClqZW0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":5}},{"@type":"Comment","text":"Bit lack lustre. Some examples of the ngrok commands, parsing headers e.t.c.","datePublished":"2025-11-28T15:38:13.225Z","url":"https://daily.dev/posts/tcGlebqHd#c-5FCKx9Muw","author":{"@type":"Person","name":"Nate Daly","url":"https://daily.dev/natedata","image":"https://media.daily.dev/image/upload/s---PCWtLQs--/f_auto/v1726039818/avatars/avatar_yQvV75GJNPqNMpljXy4uK"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"There are other alternatives and also you can do the whole tunneling with SSH too.\nDepends how deep you want to go, Ngrok is not just about tunneling ports.","datePublished":"2025-12-08T12:36:59.116Z","dateModified":"2025-12-08T12:37:20.023Z","url":"https://daily.dev/posts/tcGlebqHd#c-pfniSVFyC","author":{"@type":"Person","name":"George","url":"https://daily.dev/feketegy","image":"https://media.daily.dev/image/upload/s--YeiBYVuL--/f_auto/v1743758421/avatars/avatar_dR92D50hh"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/evu3yd32u4dwojv821eow","name":"Om Tita"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Om Tita","item":"https://daily.dev/sources/evu3yd32u4dwojv821eow"},{"@type":"ListItem","position":3,"name":"Why I Stopped Fighting With Ngrok"}]}
```

