Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Expose your local web server to the Internet

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 deploy
Octocat-spinner-32 localtunnel
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Procfile
Octocat-spinner-32 README
Octocat-spinner-32 dotcloud.yml
Octocat-spinner-32 requirements.txt
How to use v2:


python develop

(Alternatively you can do install instead of develop)

Now run some web app locally on, say, port 8000. If you have nothing,
run this in some directory:

python -m SimpleHTTPServer 8000

Localtunnel does some stuff with the hostname, so you want to set up two
hostnames. One for localtunnel registration, one for your localtunnel.
Normally it expects a wildcard, but we'll just hardcode a hostname for
this example tunnel.

example.localtunnel.local ->
localtunnel.local ->

You can do this in /etc/hosts or use that fancy ghost utility.

Now you can start the server. It's based on a configuration file in the
config directory. You can make your own, but this one is configured to
run the server on port 9999 and expects the hostname localtunnel.local

ginkgo config/

Like your web app or SimpleHTTPServer, you'll want to leave this
running. The client is installed as a command called "lt". You use this
to make the tunnel. We have to specify the broker address, and the name
of the tunnel:

lt --broker --name example 8000

Leave this running. Now you should be able to browse to:


And you should see the same thing as you would at:


Something went wrong with that request. Please try again.