LinuxCommandLibrary

lt

Localtunnel exposes your localhost to the world for easy testing and sharing.

TLDR

Start tunnel from a specific port

$ lt --port [8000]
copy


Specify the upstream server doing the forwarding
$ lt --port [8000] --host [host]
copy


Request a specific subdomain
$ lt --port [8000] --subdomain [subdomain]
copy


Print basic request info
$ lt --port [8000] --print-requests
copy


Open the tunnel URL in the default web browser
$ lt --port [8000] --open
copy

Copied to clipboard