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

There is a tool called localtunnel 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 prot forwarding etc.

Now , what localtunnel 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 webserver.

Setup Localtunnel in your System:- Follow these below steps to set localtunnel in 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

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
Latest Comments
Related Articles
Being focused and Productive at your work Vinisha Naladala

Plan your tasks in a smart way to achieve success in your life. Here are some tips to help you work smarter so you can ...

Continue Reading...
How to get self motivated to achieve goals Anusha Damacharla

Self Motivation is important to achieve success in life. Motivation is what Pushes us to achieve our goals, One of the biggest challenge is meeting ...

Continue Reading...
Streaming protocols ogg, mp3, aac Siva Chittamuru

Audio format is a file format for storing the digital audio data on a computer. The encoding of the audio data is done by the ...

Continue Reading...