Jul 302012

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

Share This!
 Posted by at 8:44 am

Sorry, the comment form is closed at this time.