Ngrok is an ingress-as-a-service that provides tunnels facilitating instant ingress to your apps in any cloud, private network, or device. Although very mature, ngrok has its own limitations of being a complex ingress-as-a-service. In this article we will explore some top 3 alternatives of ngrok.
Before jumping in we will have a brief overview of Ngrok.
ngrok provides tunnels for ingress through its programmable network edge. Additionally, it offers observability as well as the ability to change traffic parameters such as headers on the go to your apps with no code changes. In order to use ngrok you must download the ngrok client and sign up to get an account.
Pinggy.io is a tunneling tool that gives a public address to access your localhost, even while sitting behind a NAT or a firewall – all this in a single command. Without downloading anything, the pinggy command gives users access to your website / app hosted in localhost without configuring the cloud, or any port forwarding, or DNS, or VPN.
To get how simple it is to open a tunnel, here is an example. If you want to share your React app running on
localhost:3000, you can do so using pinggy with the command:
ssh -p 443 -R0:localhost:3000 a.pinggy.io
Localtunnel is a npm package that lets you create http / https tunnels to localhost. It provides a random subdomain when you run it through your terminal. Being a node package, localtunnel can be integrated to your applications as a library and you can use it to test your nodejs apps.
LocalXpose is a reverse proxy tool that provides a public URL to localhost. By simply downloading their client you can create HTTP / HTTPS tunnels, and also TCP / TLS as well as UDP tunnels. Among the three it is the only one that supports UDP traffic. LocalXpose also provides a built-in file server to share your files instantly.