skip to content
Alvin Lucillo

Serve local app via ngrok

/ 1 min read

Without paying for hosting, you can host your local app online with ngrok.

For example, you started your angular app:

NOTE: Raw file sizes do not reflect development server per-request transformations.
  Local:   http://localhost:44243/
  press h + enter to show help

Then you want it hosted online:

ngrok http http://localhost:44243

Voila!

Session Status                online
Account                       usernamehere (Plan: Free)
Version                       3.22.0
Region                        Asia Pacific (ap)
Latency                       86ms
Web Interface                 http://127.0.0.1:4040
Forwarding                    https://somerandomtexthere.ngrok-free.app -> http://localhost:44243

To install and set up ngrok, head over to: https://dashboard.ngrok.com/