Tuesday, 30 October 2012

free publicly facing url

Hi,

tunnlr provides you public interface url for your web application to access any where which was running in local machine.

If you're running your server locally and have no publicly facing endpoint, you can use a service like tunnlr to create one. This creates a publicly accessible URL with an SSH tunnel back to your local machine.


Website: http://tunnlr.com/

Create account in tunnlr and get a public url for you.


In order to use tunnlr in our rails application we have a gem 'tunnlr_connector'(A plugin for interacting with tunnlr on both unix and windows. Uses the net::ssh gem)

Add gem to your gem file.

gem 'tunnlr_connector', :require => "tunnlr"


run 'bundle install' to install the gems

Now you need to configure local system to tunnlr account. This can be done by running the below command.

rake tunnlr:configure

and enter the email address and password associated with your tunnlr account.

To create a tunnel, run

rake tunnlr:start

The above command will run tunnel server in local machine. You can browse the application with url: http://web1.tunnlr.com:12606/





Thank You,
Uma Mahesh.

No comments:

Post a Comment