sponsored by

courseoff

epicodus

mashape

localtunnel

expose yourself to the world

Fork me on GitHub

Localtunnel allows you to easily share a web service on your local development machine without messing with DNS and firewall settings.

Localtunnel will assign you a unique publicly accessible url that will proxy all requests to your locally running webserver.

quickstart

Localtunnel command line script allows you to manually setup a sharing tunnel to a local webserver.

npm install -g localtunnel

Start a webserver on some local port (in our example we have a server running on port 8000).

Make sure everything is working locally first by visiting http://localhost:8000.

Now use the command line app to request a tunnel to your local server.

$ lt --port 8000
your url is: https://gqgh.localtunnel.me

You can now share https://gqgh.localtunnel.me with anyone. As long as your local instance of lt is running, this url will remain active. Any requests to that url will be routed to your service on port 8000.

When you start and stop your tunnel, you will see it reflected in the active tunnel count below.

Tunnels

Requests

other cool stuff

Secure https for all tunnels

Show your work to anyone

Use the API to test webhooks

Test your UI in cloud browsers

developers

See the github page or wiki for info on clients in other languages and API for the tunnel proxy.