ngrok logo

ngrok

Securely expose a local web server to the internet and capture all traffic for detailed inspection and replay

What is ngrok?

ngrok is a reverse proxy that creates a secure tunnel between from a public endpoint to a locally running web service. ngrok captures and analyzes all traffic over the tunnel for later inspection and replay.
ngrok is a tool in the localhost Tools category of a tech stack.
ngrok is an open source tool with 18.3K GitHub stars and 3.2K GitHub forks. Here’s a link to ngrok's open source repository on GitHub

Who uses ngrok?

Companies
35 companies reportedly use ngrok in their tech stacks, including Bannerman, Platform Development Team, and My Job Glasses.

Developers
110 developers on StackShare have stated that they use ngrok.

ngrok Integrations

Why developers like ngrok?

Here’s a list of reasons why companies and developers use ngrok
Public Decisions about ngrok

Here are some stack decisions, common use cases and reviews by companies and developers who chose ngrok in their tech stack.

John Barton
John Barton
CTO at Amber Electric · | 6 upvotes · 20K views
atHecateHecate
Docker Compose
Docker Compose
Rails
Rails
Create React App
Create React App
ngrok
ngrok
PostgreSQL
PostgreSQL
delayed_job
delayed_job

Docker Compose might have been a bit of overkill for a dev environment as a solo founder, but I'd found so much with past side projects (though this is no longer a side project) that I would frequently waste time every time I came back to work on the project getting my dev env sorted again.

Made the conscious choice to make a "prod-ish" docker-compose config up front to make sure that didn't bite me again.

Structured it so I have the following containers running

  • server - the Rails app in API style
  • client - the Create React App
  • ngrok - ngrok to receive webhooks in dev
  • db - PostgreSQL
  • queues - delayed_job worker
See more

ngrok's Features

  • Expose any http service behind a NAT or firewall to the internet on a subdomain of ngrok.com
  • Expose any tcp service behind a NAT or firewall to the internet on a random port of ngrok.com
  • Inspect all http requests/responses that are transmitted over the tunnel
  • Replay any request that was transmitted over the tunnel

ngrok Alternatives & Comparisons

What are some alternatives to ngrok?
nginx
nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server, written by Igor Sysoev. According to Netcraft nginx served or proxied 30.46% of the top million busiest sites in Jan 2018.
Heroku
Heroku is a cloud application platform – a new way of building and deploying web apps. Heroku lets app developers spend 100% of their time on their application code, not managing servers, deployment, ongoing operations, or scaling.
PageKite
PageKite is a system for exposing localhost servers to the public Internet. It is most commonly used to make local web servers or SSH servers publicly visible, although almost any TCP-based protocol can work if the client knows how to use an HTTP proxy.
Termius
The #1 cross-platform terminal with built-in ssh client which works as your own portable server management system in any situation.
MAMP
It can be installed under macOS and Windows with just a few clicks. It provides them with all the tools they need to run WordPress on their desktop PC for testing or development purposes, for example. It doesn't matter if you prefer Apache or Nginx or if you want to work with PHP, Python, Perl or Ruby.
See all alternatives

ngrok's Followers
167 developers follow ngrok to keep up with related blogs and decisions.
gregodouglas
Ali Yousuf
Sahand Hiwa
Nathan Genetzky
Mikael Lundell
james vs
zuigon
imzshh
Hamza Farooq
Ramal Salha