How to access development server publicly using Localtunnel

We do need to expose our local server to hit call-back URLs while programming with other APIs.

There is a tool called local tunnel from and that does it for you for free with https. There is no need to do any changes on our router for port forwarding etc.

Now, what local tunnel is? Localtunnel allows us to easily share a web service on our local development machine without any server modifications. It will assign a unique URL which can be publicly accessible that will proxy all requests to our locally running web server.

Setup Localtunnel in your System: local tunnel- Follow these below stlocaltunnelin system

  1. First, Start a webserver in any local port(example 8000)
  2. Now install localtunnel by typing npm install -g localtunnel
  3. After that, request a tunnel to local server by typing it in command line: lt --port 8000
  4. It will generate one url that can be accessed publicly. something like Now, this url we can share to anyone.

As long as our local instance of this is running, anyone can access this url from internet and we can stop it when ever we want

    By Posted On

Need any Help in your Project?Let's Talk

Latest Comments
Related Articles
Python Arrow To Show Human Friendly Time Nikhila Mergu

Arrow is a python library and command-line tool to genrerate, manipulate dates, times, timestamps.
use of arrow:
With the use of arrow, we can also ...

Continue Reading...
Using Python xlwt generating CSV writer and Excel files Shirisha Gaddi

In most of the cases, you need to export the data from your database to different formats. In this post I will show you how ...

Continue Reading...
Generating PDF Files in Python using xhtml2pdf Siva Chittamuru

There are many ways for generating PDF in python. In this post I will be presenting PDF files generation with xhtml2pdf.

xhtml2pdf: xhtml2pdf is a ...

Continue Reading...

Subscribe To our news letter

Subscribe and Stay Updated about our Webinars, news and articles on Django, Python, Machine Learning, Amazon Web Services, DevOps, Salesforce, ReactJS, AngularJS, React Native.
* We don't provide your email contact details to any third parties