DEV Community

Discussion on: Expose your local 💻 web server to the world 🌐

Collapse
 
andreaksweber profile image
Andreas K. Weber

I've fallen in love with Ngrok to achieve exactly what your post describes:

ngrok.com

Collapse
 
giorgosk profile image
Giorgos Kontopoulos 👀 • Edited

@andreasweber if you don't mind please share your thought we one would choose ngrok over solutions above. Or please share why you have actually fallen in love with it.

Thanks for stopping by

Collapse
 
andreaksweber profile image
Andreas K. Weber

There are several reasons, but I must admit, I've never searched for another tool or solution to expose my local services to the open world, without having the hassle configure a bunch of things. Ngrok just works for my use cases.

I heavily rely on third party software to develop web applications (like Auth0 as identity management solution). Most of them send back status updates via webhooks. To reduce overhead and time spent setting everything up I use the custom subdomains feature of Ngrok. With this enabled I am able to configure a consistent webhook endpoint and don't have to reconfigure my development setup, after I stopped the tunnel, to get it going again.

Moreover, with Ngroks local ui I can capture and replay requests. That's awesome to simulate real webhook requests again and again. With one of the latest updates Ngrok implemented the possibility to modify requests before replaying them.

Thread Thread
 
giorgosk profile image
Giorgos Kontopoulos 👀

@andreasweber I guess localhost.run and serveo.net are for simpler use cases than. I did not know ngrok had all those bells and whistles but again I never had the need for them and wanted something very simple.

Thanks for the write up

Collapse
 
devansvd profile image
Devan

Yeah, ngrok is way simpler to use

Collapse
 
giorgosk profile image
Giorgos Kontopoulos 👀

@devansvd thanks for stopping by and the comment.
In what ways is ngrok simpler to use, do you care to explain ?

Thread Thread
 
devansvd profile image
Devan • Edited

Maybe a easy to remember command. Never done registration though. Free Link works for 6 hours. Nice article between.

ngrok http 80

Thread Thread
 
giorgosk profile image
Giorgos Kontopoulos 👀 • Edited

@devansvd I did not realize you can use ngrok without registering, thanks for sharing.