How to access development server publicly using Localtunnel

Reading Time : ~ .

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 http://localtunnel.me/ 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 https://gfgpujzxy.localtunnel.me 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
SENIOR DEVELOPER at MICROPYRAMID

Need any Help in your Project?Let's Talk

Latest Comments
Related Articles
Building Documentation with readthedocs Shirisha Gaddi

In this blog, I'm going to explain you how to write the Sphinx docs using reStructuredText to host in the Read the Docs.

Installing Sphinx
Continue Reading...

Facebook integration in your website Ashwin Kumar

Using Facebook integration, we can get the user verified email id, general information, friends, pages, groups and you can post on his profile, facebook pages, ...

Continue Reading...
Tracking your Product Sales, Views and Searches with Google Enhanced E-commerce Analytics Jagadeesh V

Enhanced E-commerce helps improving tracking of an ecommerce website. It gives Statistics in variable measurements. It is not be used alongside analytics plugin, as this ...

Continue Reading...

Subscribe To our news letter

Subscribe to our news letter to receive latest blog posts into your inbox. Please fill your email address in the below form.
*We don't provide your email contact details to any third parties