DEV Community

Cover image for Access your localhost dev server from Internet
Ahmed
Ahmed

Posted on

Access your localhost dev server from Internet

While working at home on your development machine, you've put in many hours developing the new web application. Your implementation should be tested on a variety of mobile and tablet devices to make sure it's working as it should. You don't have the time to host everything on a public server just so your client may have a look at least until you are ready for production.

Most web developers are likely to have encountered this scenario at some point. This is an all-too-common occurrence and you undoubtedly hoped there was a simpler and faster method to move stuff to a public-facing server during those occasions when you had to stay up all night hosting your still in-development web app.

Rejoice, you weary web devs! There's a new and better way to do things! You may access your localhost from the Internet using a wide variety of apps and services, making this procedure a lot less cumbersome. The following are the ones I'll be discussing in this short article:

  • Ngrok
  • Localtunnel
  • Telbit
  • Localhost.run
  • Cloudflare tunnel

These services are called tunnels which come in handy to establish a secure but temporary connection between your localhost and the Internet.

There are also a number of paid options, like pagekite, Forward and Burrow.io.

For detailed instructions, you can read Expose localhost dev server to the Internet

Discussion (0)