how to share localhost

Great tools for sharing localhost with oneanother.

Sometime you just want a quick demo, so here is what I done.

Setup 1: Ngrok

Install ngrok

Setup 2: Start your localhost

Here I used php, I know python and rails do have build-in command.

php

php start local host

Setup 3: Start your ngrok,

Make sure the port is exactly the same.

ngrok start

ngrok start

Setup 4: Done and spread out your local host.

For this article, my final localhost URL address is http://04a51448.ngrok.io.

Then enjoy.