How to run localhost web apps on your remote device without USB

How to run localhost web apps on your remote device without USB

Let’s take a little help from our old friend ngrok. “Hey Madhav, I don’t like the feel of chrome dev tools, I don’t want to check responsiveness of my webapp through that, I want to run my app on my real device and see, how can I do that?”

“Hey Madhav, I don’t like the feel of chrome dev tools, I don’t want to check responsiveness of my webapp through that, I want to run my app on my real device and see, how can I do that?”

Don’t worry, today I am going to teach you how can you open your localhost webapp on your remote machine in less than two minutes.


I am back with my 2 minute tutorial series, and today, let’s see how can you open your localhost on your phone.

Wait Madhav, what’s this 2 minute series?

Oh, don’t you know?

Ok, let me explain. I truly care about your productivity, and I want you to be able to do things faster, and that’s why I used to write blogs on how can you get some things done in less than two minutes. For example —

  1. How to Deploy your React App on GitHub Pages in 2 minutes
  2. Get your static website live in less than 2 minutes
  3. Set up Custom Domain With GitHub Pages in less than 2 minutes

And more…

I stopped the series in between, but now I am planning to start it again, and I need your help in this, let me know about the topics you want me to explain you, and I would love to write my 2 minutes blog on that.


Alright, now let’s get started, today’s agenda is to learn how to open your web-app (running at localhost), on your mobile.

I am going to tell you two ways how you can get this job done. The first one is a very common way to do it (through IP address), while the second one is not so common, using ngrok.

But, why two methods? Why not a single method?

The first method (using IP address), sometime doesn’t work, the issue might be because of public network, or your firewall might be blocking it, so the second one makes it foolproof.

In this small tutorial, I will be trying to test a sample “Hello world” web app. Setting that up is very simple,

productivity javascript web-development testing deployment

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Why Web Development is Important for your Business

With the rapid development in technology, the old ways to do business have changed completely. A lot more advanced and developed ways are ...

Important Reasons to Hire a Professional Web Development Company

    You name the business and I will tell you how web development can help you promote your business. If it is a startup or you seeking some...

How long does it take to develop/build an app?

This article covers A-Z about the mobile and web app development process and answers your question on how long does it take to develop/build an app.

Web Design and Development Services

Get Best out from Web Design and Development Services from Vinew Technologies,We have a dedicated team of experienced and knowledgeable web developers, designers and testers. Therefore, we have proficiency in analyzing, developing and designing the necessity of intricate Website Development projects.

Progressive Web App Development

Hire Full Stack Developer from HireFullStackDeveloperIndia.com to build user-centric & robust Progress Web App Development Solutions in India.