O'Reilly logo

Getting Started with Ionic by Rahat Khanna

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Testing using Ngrok

We have learned a lot about remote debugging but there is a problem such as hosting your Ionic App to a public location where any device on the Internet can access it. Also, sometimes you have to integrate your Ionic App to some local APIs and then test it on an actual device.

It would be very tedious and cumbersome to upload your backend and Ionic App to a public-facing server every time you want to test some functionality. Ngrok is an excellent tool that enables you to expose your local host server on any port to the Internet world using a public URL.

Ngrok acts as a secure tunnel between your local machine and a public URL, which people can access on any device. You can use this public URL in the methods given previously in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required