From progrium.com

The easiest way to share localhost web servers to the rest of the world
$ gem install localtunnel
$ localtunnel 8000

Then share this url: http://xyz.localtunnel.com

More specific directions

Install localtunnel using RubyGems. (Check the full README if you don’t have Ruby or RubyGems.)

$ sudo gem install localtunnel

Run your local web server on any port! Let’s say you’re running Apache on port 8080.

Now run localtunnel passing it the port to share. The first time you run localtunnel you have to point to a public SSH key. Check the README if you need help.

Here’s an example; You should see something like this:
$ localtunnel -k ~/.ssh/id_rsa.pub 8080
Port 8080 is now publicly accessible from http://8bv2.localtunnel.com …

From progrium.com


I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....