DEV Community

The Happy World of ngrok

Laura Weatherhead on November 27, 2018

Current favourite tool: ngrok Have you ever wanted to share something still in development with a product manager, project manager or even anothe...
Collapse
 
flexdinesh profile image
Dinesh Pandiyan

ngrok is my most favourite utility for web app development.

It helps a lot especially when you're developing serverless apps or apps that talk to other entities in the internet. All you gotta do is setup a local server and hook ngrok to your app and see how it works in the cloud.

I'll consider it to be one of the most underrated tools used today.

Collapse
 
k4ml profile image
Kamal Mustafa

In case you don't want to use a third party services, you can achieve (almost) similar setup with ssh reverse tunnel and tools like tcpproxy or caddy. I shared about it here - dev.to/k4ml/poor-man-ngrok-with-tc....

One thing missing is the request inspection, which I'm still thinking how to get it with existing tools, without having me to code the features myself ;)

Collapse
 
tobiassn profile image
Tobias SN

It’s not just for development. I once used it to play a game with a friend without setting up an online server. He had next to no lag whatsoever.

Collapse
 
lssweatherhead profile image
Laura Weatherhead

Ahh, genius!!

Collapse
 
sebastiandg7 profile image
Sebastián Duque G

Take a look at serveo.net ;)

Collapse
 
lssweatherhead profile image
Laura Weatherhead

Oooh, also looks awesome!

Collapse
 
poulad profile image
Poulad Ashrafpour • Edited

I wonder how ngrok is compared to localtunnel.

Local Tunnel works fine for me. It's an npm package and offers JS/Go API for automation.

There is one missing feature though. I can't change the local port number w/o creating another tunnel.

Collapse
 
vjnvisakh profile image
Visakh Vijayan

Yup it's really helpful for development mode. We test our APIs like this before passing it on for QA.

Collapse
 
c0il profile image
Vernet Loïc

Interesting, I will give a try. I am actually searching for a way to do https locally in a clean way.

Collapse
 
lynnewritescode profile image
Lynne Finnigan

Definitely need to try this at some point! 😊

Collapse
 
jamesmh profile image
James Hickey

Nice! Hadn't heard of ngrok before. Def. sounds useful for the reasons you mentioned 👌

Collapse
 
nickytonline profile image
Nick Taylor

Such a great tool. Love it. Thanks for the post. Looking forward to your next post!

Collapse
 
lssweatherhead profile image
Laura Weatherhead

Thank you! :)

Collapse
 
mauvehed profile image
mauvehed

As a security professional, ngrok horrifies me.