Instantly show localhost to the rest of the world using localtunnel
Sometimes you want to show your local running code to outside world, your friends or colleague. Here is one quick solution.
STEP 1:
Install localtunnel using RubyGems.
STEP 2:
Run your local web server on any port! Let’s say you’re running WEBrick on port 3000.
STEP 3:
Now run localtunnel passing it the port to share.
The first time you run localtunnel you have to point to a public SSH key.
You should see something like this:
Port 3000 is now publicly accessible from abc.localtunnel